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

IXmpType , ICloneable

继承人

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; }

财产价值

Rational

Examples

对于NTSC,使用1001/30000或不准确的100/2997。用于PAL,使用 1/25.

Value

在指定的规模中获得或设置时间值。

[JsonProperty]
public int Value { get; set; }

财产价值

int

Methods

GetXmpRepresentation()

以 XMP 格式获取包含的字符串值。

public override string GetXmpRepresentation()

Returns

string

返回在 XMP 格式中包含的字符串值。

 中文