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(عاقلانه، int)
شروع یک مثال جدید از کلاس 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 استفاده کنید.برای PL استفاده کنید 1/25.
Value
مقدار زمان را در مقیاس مشخص شده دریافت یا تنظیم می کند.
[JsonProperty]
public int Value { get; set; }
ارزش املاک
Methods
GetXmpRepresentation()
ارزش شاخه را در فرمت XMP دریافت می کند.
public override string GetXmpRepresentation()
Returns
بازگرداندن مقدار حاوی نوار در فرمت XMP.