Class Thumbnail
ชื่อพื้นที่: Aspose.Imaging.Xmp.Types.Complex.Thumbnail การประกอบ: Aspose.Imaging.dll (25.4.0)
แสดงภาพขนาดเล็กสําหรับไฟล์
[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Thumbnail
Implements
อนุญาโตตุลาการ
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
Thumbnail()
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail
[JsonConstructor]
public Thumbnail()
Thumbnail(int, int)
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail
public Thumbnail(int width, int height)
Parameters
width
int
ความกว้าง
height
int
ความสูง
Properties
Height
รับหรือตั้งค่าความสูง
public int Height { get; set; }
คุณสมบัติมูลค่า
Exceptions
ความสูงไม่สามารถน้อยกว่าศูนย์
ImageBase64
ได้รับหรือตั้งค่าภาพในรูปแบบ base64
[JsonProperty]
public string ImageBase64 { get; set; }
คุณสมบัติมูลค่า
Width
รับหรือตั้งค่าความกว้าง
public int Width { get; set; }
คุณสมบัติมูลค่า
Exceptions
หมายเลข: ความกว้างไม่สามารถน้อยกว่าศูนย์
Methods
GetXmpRepresentation()
รับความหมายของ string ในรูปแบบ XMP
public override string GetXmpRepresentation()
Returns
กลับค่าที่ประกอบด้วย string ในรูปแบบ XMP