Class Rational

Rational class

Represents XMP Rational.

public class Rational : XmpTypeBase

Constructors

NameDescription
Rational(int, int)Initializes a new instance of the Rational class.

Properties

NameDescription
Denominator { get; set; }Gets or sets the denominator.
FloatValue { get; }Gets the float value.
Numerator { get; }Gets the numerator.

Methods

NameDescription
override GetXmpRepresentation()Gets thestring contained value in XMP format.

See Also