Class Thumbnail
اسم الفضاء : Aspose.Imaging.Xmp.Types.Complex.Thumbnail تجميع: Aspose.Imaging.dll (25.5.0)
يمثل صورة صغيرة لملف.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneableInheritance
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(إنت، إنت)
يبدأ مثالًا جديدًا من فئة 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()
يحصل على القيمة الموجودة في الحبل في تنسيق XMP.
public override string GetXmpRepresentation()Returns
يعيد القيمة الموجودة في الشريط في تنسيق XMP.