Class Time
Class Time
اسم الفضاء : Aspose.Imaging.Xmp.Schemas.XmpDm تجميع: Aspose.Imaging.dll (25.4.0)
تمثيل قيمة الوقت في ثوان.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Time : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← Time
Implements
الأعضاء الموروثين
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(العقلية، إنت)
يبدأ مثال جديد من فئة Aspose.Imaging.Xmp.Schemas.XmpDm.Time.
[JsonConstructor]
public Time(Rational scale, int value)
Parameters
scale
Rational
على مقياس
value
int
القيمة .
Properties
Scale
يحصل أو يحدد مقياس القيمة الزمنية.
[JsonProperty]
public Rational Scale { get; set; }
قيمة الممتلكات
Examples
بالنسبة لـ NTSC ، استخدم 1001/30000 أو أقل دقة 100/2997.بالنسبة لـ PAL ، استخدم 1/25.
Value
يحصل أو يضع قيمة الوقت في المقياس المحدد.
[JsonProperty]
public int Value { get; set; }
قيمة الممتلكات
Methods
GetXmpRepresentation()
يحصل على القيمة الموجودة في الحبل في تنسيق XMP.
public override string GetXmpRepresentation()
Returns
يعيد القيمة الموجودة في الشريط في تنسيق XMP.