Class Time
İsim alanı : Aspose.Imaging.Xmp.Schemas.XmpDm Toplantı: Aspose.Imaging.dll (25.4.0)
Saniyede bir zaman değerinin temsil edilmesi.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Time : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← Time
Implements
mirasçı üyeleri
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(rasyonel , int)
Aspose.Imaging.Xmp.Schemas.XmpDm.Time sınıfının yeni bir örneğini başlatır.
[JsonConstructor]
public Time(Rational scale, int value)
Parameters
scale
Rational
ve ölçeği.
value
int
Değer için .
Properties
Scale
Zaman değeri için ölçeği alır veya ayarlar.
[JsonProperty]
public Rational Scale { get; set; }
Mülkiyet Değer
Examples
NTSC için 1001/30000 veya daha az doğru 100/2997 kullanın.Sıfır için kullanın 1/25.
Value
Belirlenen ölçekte zaman değerini alır veya ayarlar.
[JsonProperty]
public int Value { get; set; }
Mülkiyet Değer
Methods
GetXmpRepresentation()
Çizgi içerdiği değeri XMP biçiminde alır.
public override string GetXmpRepresentation()
Returns
XMP biçiminde satılan değeri döndürür.