Class Time
Representation of a time value in seconds.
public sealed class Time : XmpTypeBase, IXmpType
- Inheritance
-
Time
- Implements
- Inherited Members
Constructors
Time(Rational, int)
Initializes a new instance of the Time class.
public Time(Rational scale, int value)
Parameters
Properties
Scale
Gets or sets scale for the time value.
public Rational Scale { get; set; }
Property Value
- Rational
The scale for the time value.
Examples
For NTSC, use 1001/30000, or the less accurate 100/2997. For PAL, use 1/25.
Value
Gets or sets time value in the specified scale.
public int Value { get; set; }
Property Value
- int
The time value in the specified scale.
Methods
GetXmpRepresentation()
Gets the string contained value in XMP format.
public override string GetXmpRepresentation()
Returns
- string
Returns the string contained value in XMP format.