Class Time
Nama dari : Aspose.Imaging.Xmp.Schemas.XmpDm Pengumpulan: Aspose.Imaging.dll (25.5.0)
Menampilkan nilai waktu dalam beberapa detik.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Time : XmpTypeBase, IXmpType, ICloneableInheritance
object ← XmpTypeBase ← Time
Implements
anggota yang diwarisi
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(Secara rasional, int)
Initifikasi contoh baru dari kelas Aspose.Imaging.Xmp.Schemas.XmpDm.Time.
[JsonConstructor]
public Time(Rational scale, int value)Parameters
scale Rational
dengan skala tersebut.
value int
dengan nilai tersebut.
Properties
Scale
Dapatkan atau menetapkan skala untuk nilai waktu.
[JsonProperty]
public Rational Scale { get; set; }Nilai Properti
Examples
Untuk NTSC, gunakan 1001/30000, atau kurang akurat 100/2997.Untuk PAL, gunakan 1/25.
Value
Dapatkan atau menetapkan nilai waktu dalam skala yang ditentukan.
[JsonProperty]
public int Value { get; set; }Nilai Properti
Methods
GetXmpRepresentation()
Dapatkan nilai string yang terkandung dalam format XMP.
public override string GetXmpRepresentation()Returns
Mengembalikan nilai string yang terkandung dalam format XMP.