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 формат.

 Български