Rational.Rational
Rational constructor
Initializes a new instance of the Rational class.
public Rational(int numerator, int denominator)
| Parameter | Type | Description |
|---|---|---|
| numerator | Int32 | The numerator. |
| denominator | Int32 | The denominator. |
Exceptions
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | numerator;Numberator should be grater zero. or denominator;Denominator should be grater zero. |
See Also
- class Rational
- namespace Aspose.Imaging.Xmp.Types.Derived
- assembly Aspose.Imaging