Class Time

Class Time

Navne til: Aspose.Imaging.Xmp.Schemas.XmpDm Sammensætning: Aspose.Imaging.dll (25.4.0)

Repræsentation af en tidværdi i sekunder.

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

Inheritance

object XmpTypeBase Time

Implements

IXmpType , ICloneable

De arvede medlemmer

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(Rationel og int)

Initialiserer en ny instans af Aspose.Imaging.Xmp.Schemas.xmpDm.Time klasse.

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

Parameters

scale Rational

og skalaen.

value int

Den værdi.

Properties

Scale

Få eller indsætte skalaen for tiden værdi.

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

Ejendomsværdi

Rational

Examples

For NTSC, brug 1001/30000, eller den mindre nøjagtige 100/2997.For PAL, brug 1/25.

Value

Giver eller sætter tid værdi i den angivne skala.

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

Ejendomsværdi

int

Methods

GetXmpRepresentation()

Få den indholdte værdi i XMP-format.

public override string GetXmpRepresentation()

Returns

string

Returnerer stringens indholdsværdi i XMP format.

 Dansk