XmpRational class
Leave feedback
On this page
Represents XMP XmpRational.
Inheritance: XmpRational →
XmpValueBase →
PropertyValue
The XmpRational type exposes the following members:
| Constructor | Description |
|---|---|
__init__(self, numerator, denominator) |
Initializes a new instance of the XmpRational class. |
__init__(self, value) |
Initializes a new instance of the XmpBoolean class. |
| Property | Description |
|---|---|
| type | Gets the MetadataPropertyType. |
| raw_value | Gets the raw value. |
| numerator | Gets numerator. |
| denominator | Gets denominator |
| double_value | Gets value of rational type presented in double format. |
| Method | Description |
|---|---|
accept_value(self, value_acceptor) |
Extracts the property value using a custom ValueAcceptor. |
get_xmp_representation(self) |
Returns string contained value in XMP format. |
- module
groupdocs.metadata.standards.xmp - class
MetadataPropertyType - class
PropertyValue - class
ValueAcceptor - class
XmpBoolean - class
XmpRational - class
XmpValueBase
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.