Class Time

Class Time

Namn på plats: Aspose.Imaging.Xmp.Schemas.XmpDm Församling: Aspose.Imaging.dll (25.4.0)

Representera ett värde av tiden i sekunder.

[JsonObject(MemberSerialization.OptIn)]
public sealed class Time : XmpTypeBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase Time

Implements

IXmpType , ICloneable

Arvsmedlemmar

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(Rationellt och int)

Initialiserar en ny instans av Aspose.Imaging.Xmp.Schemas.XmpDm.Time klass.

[JsonConstructor]
public Time(Rational scale, int value)

Parameters

scale Rational

och skalan .

value int

och värdet .

Properties

Scale

Få eller sätta skala för tiden värde.

[JsonProperty]
public Rational Scale { get; set; }

Fastighetsvärde

Rational

Examples

För NTSC, använd 1001/30000, eller mindre exakt 100/2997.För PAL, använd 1/25.

Value

Få eller ange tidsvärde i den angivna skalan.

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

Fastighetsvärde

int

Methods

GetXmpRepresentation()

Få värdet i raden i XMP-format.

public override string GetXmpRepresentation()

Returns

string

Returnerar strängen innehållande värde i XMP-format.

 Svenska