Class Thumbnail

Class Thumbnail

Namn på plats: Aspose.Imaging.Xmp.Types.Complex.Thumbnail Församling: Aspose.Imaging.dll (25.4.0)

Representerar miniatyrbilden för en fil.

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

Inheritance

object XmpTypeBase ComplexTypeBase Thumbnail

Implements

IXmpType , ICloneable

Arvsmedlemmar

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

Initialiserar en ny instans av Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail klass.

[JsonConstructor]
public Thumbnail()

Thumbnail(int, int)

Initialiserar en ny instans av Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail klass.

public Thumbnail(int width, int height)

Parameters

width int

och bredden.

height int

och höjden.

Properties

Height

Få eller sätta höjden.

public int Height { get; set; }

Fastighetsvärde

int

Exceptions

ArgumentOutOfRangeException

värde;Höghet kan inte vara mindre än noll

ImageBase64

Få eller ställa in bilden i bas64 format.

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

Fastighetsvärde

string

Width

Får eller sätter bredden.

public int Width { get; set; }

Fastighetsvärde

int

Exceptions

ArgumentOutOfRangeException

värde;Vidhet kan inte vara mindre än noll

Methods

GetXmpRepresentation()

Få värdet i raden i XMP-format.

public override string GetXmpRepresentation()

Returns

string

Returnerar strängen innehållande värde i XMP-format.

 Svenska