Rational Class
Contents
[
Hide
]Summary: Represents XMP Rational.
Module: aspose.psd.xmp.types.derived
Full Name: aspose.psd.xmp.types.derived.Rational
Inheritance: IXmpType, XmpTypeBase
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| Rational(numerator, denominator) | Initializes a new instance of the Rational class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| denominator | int | r/w | Gets or sets the denominator. |
| float_value | float | r | Gets the float value. |
| numerator | int | r | Gets the numerator. |
Methods
| Name | Description |
|---|---|
| get_xmp_representation() | Gets thestring contained value in XMP format. |
Constructor: Rational(numerator, denominator)
Rational(numerator, denominator)
Initializes a new instance of the Rational class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| numerator | int | The numerator. |
| denominator | int | The denominator. |
Method: get_xmp_representation()
get_xmp_representation()
Gets thestring contained value in XMP format.
Returns
| Type | Description |
|---|---|
| string | Returns the string contained value in XMP format. |