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
Κληρονομημένα μέλη
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.Thumbnail.
[JsonConstructor]
public Thumbnail()
Thumbnail(ΕΝΤ, ΕΝΤ)
Αρχίζει μια νέα περίπτωση της τάξης Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail.
public Thumbnail(int width, int height)
Parameters
width
int
Το πλάτος .
height
int
Το ύψος.
Properties
Height
Πάρτε ή τοποθετήστε το ύψος.
public int Height { get; set; }
Αξία ιδιοκτησίας
Exceptions
Αξία: Το ύψος δεν μπορεί να είναι μικρότερο από το μηδέν
ImageBase64
Αποκτά ή τοποθετεί την εικόνα σε μορφή base64.
[JsonProperty]
public string ImageBase64 { get; set; }
Αξία ιδιοκτησίας
Width
Πάρτε ή τοποθετήστε το πλάτος.
public int Width { get; set; }
Αξία ιδιοκτησίας
Exceptions
Αξία: Το μέγεθος δεν μπορεί να είναι μικρότερο από το μηδέν
Methods
GetXmpRepresentation()
Αποκτά την τιμή που περιέχεται στη γραμμή σε μορφή XMP.
public override string GetXmpRepresentation()
Returns
Επιστρέφει την τιμή που περιέχεται στη γραμμή σε μορφή XMP.