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
virtual Clone()Clones this instance.
override GetXmpRepresentation()Gets thestring contained value in XMP format.
override ToString()Gets this XMP data as string.

See Also