Class Time
De naam: Aspose.Imaging.Xmp.Schemas.XmpDm Verzameling: Aspose.Imaging.dll (25.4.0)
Het vertegenwoordigen van een tijdwaarde in seconden.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Time : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← Time
Implements
Geëerbiede leden
XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Time(Rationeel en int)
Initialiseert een nieuwe instantie van de Aspose.Imaging.Xmp.Schemas.xmpDm.Time-klasse.
[JsonConstructor]
public Time(Rational scale, int value)
Parameters
scale
Rational
De schaal.
value
int
De waarde .
Properties
Scale
Geeft of stelt een schaal voor de tijdwaarde.
[JsonProperty]
public Rational Scale { get; set; }
Eigendomswaarde
Examples
Voor NTSC, gebruik 1001/30000, of de minder nauwkeurige 100/2997.Voor PAL, gebruik 1/25.
Value
Geeft of stelt tijdwaarde in de aangegeven schaal.
[JsonProperty]
public int Value { get; set; }
Eigendomswaarde
Methods
GetXmpRepresentation()
Geeft de string bevatte waarde in XMP-formaat.
public override string GetXmpRepresentation()
Returns
Terugkomt de waarde die de string bevat in XMP-formaat.