Class Dimensions

Class Dimensions

Nama dari : Aspose.Imaging.Xmp.Types.Complex.Dimensions Pengumpulan: Aspose.Imaging.dll (25.4.0)

Mengatur dimensi untuk objek yang ditarik.

[JsonObject(MemberSerialization.OptIn)]
public sealed class Dimensions : ComplexTypeBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase ComplexTypeBase Dimensions

Implements

IXmpType , ICloneable

anggota yang diwarisi

ComplexTypeBase.GetXmpRepresentation() , ComplexTypeBase.Prefix , ComplexTypeBase.NamespaceUri , XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Dimensions()

Initifikasi contoh baru dari Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensions kelas.

[JsonConstructor]
public Dimensions()

Dimensions(Banjir, Banjir)

Initifikasi contoh baru dari Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensions kelas.

public Dimensions(float width, float height)

Parameters

width float

dengan luasnya.

height float

ketinggian yang

Properties

Height

Dapatkan atau menetapkan ketinggian.

public float Height { get; set; }

Nilai Properti

float

Exceptions

ArgumentOutOfRangeException

nilai; ketinggian tidak bisa kurang dari nol

Units

Mendapatkan atau menetapkan unit.

[JsonProperty]
public string Units { get; set; }

Nilai Properti

string

Examples

Contohnya: inci, mm, piksel, pica, titik dan sebagainya.

Width

Dapatkan atau menetapkan lebar.

public float Width { get; set; }

Nilai Properti

float

Exceptions

ArgumentOutOfRangeException

nilai;Width tidak bisa kurang dari nol

Methods

GetXmpRepresentation()

Dapatkan nilai string yang terkandung dalam format XMP.

public override string GetXmpRepresentation()

Returns

string

Mengembalikan nilai string yang terkandung dalam format XMP.

 Indonesia