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.

[JsonConstructor]
public Thumbnail()

Thumbnail(Инт, Инт)

Инициализует новую инстанцию класса Aspose.Imaging.Xmp.Types.Complex.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.

 Русский