Class Thumbnail
Der Name: Aspose.Imaging.Xmp.Types.Complex.Thumbnail Versammlung: Aspose.Imaging.dll (25.4.0)
Darstellt ein Miniaturbild für eine Datei.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Thumbnail
Implements
Vererbte Mitglieder
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()
Initialisiert eine neue Instanz der Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail Klasse.
[JsonConstructor]
public Thumbnail()
Thumbnail(und int, int)
Initialisiert eine neue Instanz der Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail Klasse.
public Thumbnail(int width, int height)
Parameters
width
int
Die Breite.
height
int
Die Höhe.
Properties
Height
Erhält oder setzt die Höhe.
public int Height { get; set; }
Eigentumswert
Exceptions
Wert;Höhe kann nicht weniger als Null sein
ImageBase64
Erhalten oder stellen Sie das Bild im Bas64-Format.
[JsonProperty]
public string ImageBase64 { get; set; }
Eigentumswert
Width
Gibt oder setzt die Breite.
public int Width { get; set; }
Eigentumswert
Exceptions
Wert: Die Breite kann nicht weniger als Null sein
Methods
GetXmpRepresentation()
Erhalten Sie den enthaltenen Wert im XMP-Format.
public override string GetXmpRepresentation()
Returns
Ersetzt den enthaltenen Wert im XMP-Format zurück.