Class Thumbnail
Le nom : Aspose.Imaging.Xmp.Types.Complex.Thumbnail Assemblée: Aspose.Imaging.dll (25.4.0)
Immagini di miniatura per un file.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Thumbnail
Implements
I membri ereditari
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()
Initialisez une nouvelle instance de la classe Aspose.Imaging.Xmp.Types.Complex.Thumbnail.
[JsonConstructor]
public Thumbnail()
Thumbnail(int, int)
Initialisez une nouvelle instance de la classe Aspose.Imaging.Xmp.Types.Complex.Thumbnail.
public Thumbnail(int width, int height)
Parameters
width
int
La larghezza .
height
int
La altezza .
Properties
Height
Riceve o mette l’altezza.
public int Height { get; set; }
Valore di proprietà
Exceptions
Valore; Altezza non può essere inferiore a zero
ImageBase64
Ricevi o metti l’immagine in formato base64.
[JsonProperty]
public string ImageBase64 { get; set; }
Valore di proprietà
Width
Riceve o mette la larghezza.
public int Width { get; set; }
Valore di proprietà
Exceptions
Valore; larghezza non può essere inferiore a zero
Methods
GetXmpRepresentation()
Riceve il valore contenuto nella riga in formato XMP.
public override string GetXmpRepresentation()
Returns
Ritorna il valore contenuto nella string in formato XMP.