Rational Constructor

Initializes a new instance of the Rational class.

Namespace:  Aspose.CAD.Xmp.Types.Derived
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 21.3
Syntax
public Rational(
	int numerator,
	int denominator
)

Parameters

numerator
Type: SystemInt32
The numerator.
denominator
Type: SystemInt32
The denominator.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException numerator;Numberator should be grater zero. or denominator;Denominator should be grater zero.
See Also