XmpRational constructor

__init__(self, value)

Initializes a new instance of the XmpBoolean class.


def __init__(self, value):
    ...
Parameter Type Description
value System.String The value.

Exceptions

Exception Description
ArgumentNullException Value could not be null.
ArgumentException Invalid string value.

__init__(self, numerator, denominator)

Initializes a new instance of the XmpRational class.


def __init__(self, numerator, denominator):
    ...
Parameter Type Description
numerator int The numerator.
denominator int The denominator.

See Also