Class Dimensions

Class Dimensions

ชื่อพื้นที่: Aspose.Imaging.Xmp.Types.Complex.Dimensions การประกอบ: Aspose.Imaging.dll (25.4.0)

เนื้อหาขนาดสําหรับวัตถุที่ดึง

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

Inheritance

object XmpTypeBase ComplexTypeBase Dimensions

Implements

IXmpType , ICloneable

อนุญาโตตุลาการ

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()

เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensions

[JsonConstructor]
public Dimensions()

Dimensions(เฟอร์รี่, เฟอร์รี่)

เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Imaging.Xmp.Types.Complex.Dimensions.Dimensions

public Dimensions(float width, float height)

Parameters

width float

ความกว้าง

height float

ความสูง

Properties

Height

รับหรือตั้งค่าความสูง

public float Height { get; set; }

คุณสมบัติมูลค่า

float

Exceptions

ArgumentOutOfRangeException

ความสูงไม่สามารถน้อยกว่าศูนย์

Units

รับหรือตั้งค่าหน่วย

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

คุณสมบัติมูลค่า

string

Examples

ตัวอย่างเช่น: นิ้ว, มม. pixel, pica, point ฯลฯ

Width

รับหรือตั้งค่าความกว้าง

public float Width { get; set; }

คุณสมบัติมูลค่า

float

Exceptions

ArgumentOutOfRangeException

หมายเลข: ความกว้างไม่สามารถน้อยกว่าศูนย์

Methods

GetXmpRepresentation()

รับความหมายของ string ในรูปแบบ XMP

public override string GetXmpRepresentation()

Returns

string

กลับค่าที่ประกอบด้วย string ในรูปแบบ XMP

 แบบไทย