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

Добија или поставља слику у бази64 формату.

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

 Српски