Class Thumbnail

Class Thumbnail

Navne til: Aspose.Imaging.Xmp.Types.Complex.Thumbnail Sammensætning: Aspose.Imaging.dll (25.4.0)

Det repræsenterer et miniatyrbillede for en fil.

[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase ComplexTypeBase Thumbnail

Implements

IXmpType , ICloneable

De arvede medlemmer

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()

Initialiserer en ny instans af Aspose.Imaging.Xmp.Types.Complex.Thumbnail-klassen.

[JsonConstructor]
public Thumbnail()

Thumbnail(Det er int)

Initialiserer en ny instans af Aspose.Imaging.Xmp.Types.Complex.Thumbnail-klassen.

public Thumbnail(int width, int height)

Parameters

width int

Den bredde.

height int

Den højde.

Properties

Height

Får eller sætter højde.

public int Height { get; set; }

Ejendomsværdi

int

Exceptions

ArgumentOutOfRangeException

værdi;Højhed kan ikke være mindre end nul

ImageBase64

Få eller indsætte billedet i base64 format.

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

Ejendomsværdi

string

Width

Giver eller sætter bredden.

public int Width { get; set; }

Ejendomsværdi

int

Exceptions

ArgumentOutOfRangeException

værdi;Vidth kan ikke være mindre end nul

Methods

GetXmpRepresentation()

Få den indholdte værdi i XMP-format.

public override string GetXmpRepresentation()

Returns

string

Returnerer stringens indholdsværdi i XMP format.

 Dansk