Class Thumbnail

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

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

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; }

ارزش املاک

int

Exceptions

ArgumentOutOfRangeException

ارزش؛ ارتفاع نمی تواند کمتر از صفر باشد

ImageBase64

تصویر را در فرمت base64 دریافت یا تنظیم کنید.

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

ارزش املاک

string

Width

و یا پهنای باند را تعیین می کند.

public int Width { get; set; }

ارزش املاک

int

Exceptions

ArgumentOutOfRangeException

ارزش؛ عرض نمی تواند کمتر از صفر باشد

Methods

GetXmpRepresentation()

ارزش شاخه را در فرمت XMP دریافت می کند.

public override string GetXmpRepresentation()

Returns

string

بازگرداندن مقدار حاوی نوار در فرمت XMP.

 فارسی