Class Time
Der Name: Aspose.Imaging.Xmp.Schemas.XmpDm Versammlung: Aspose.Imaging.dll (25.4.0)
Repräsentation eines Zeitwertes in Sekunden.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Time : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← Time
Implements
Vererbte Mitglieder
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(Rational und int)
Initialisiert eine neue Instanz der Aspose.Imaging.Xmp.Schemas.XmpDm.Time Klasse.
[JsonConstructor]
public Time(Rational scale, int value)
Parameters
scale
Rational
und die Skala.
value
int
Der Wert.
Properties
Scale
Erhält oder setzt eine Skala für den Zeitwert.
[JsonProperty]
public Rational Scale { get; set; }
Eigentumswert
Examples
Für NTSC verwenden Sie 1001/30000 oder die weniger genaue 100/2997.Für PAL, verwenden Sie 1/25.
Value
Erhalten oder setzen Zeitwert in der angegebenen Skala.
[JsonProperty]
public int Value { get; set; }
Eigentumswert
Methods
GetXmpRepresentation()
Erhalten Sie den enthaltenen Wert im XMP-Format.
public override string GetXmpRepresentation()
Returns
Ersetzt den enthaltenen Wert im XMP-Format zurück.