Class Thumbnail
Nazwa przestrzeń: Aspose.Imaging.Xmp.Types.Complex.Thumbnail Zgromadzenie: Aspose.Imaging.dll (25.4.0)
Przedstawia obraz miniaturowy dla pliku.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Thumbnail
Implements
Dziedziczeni członkowie
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()
Inicjalizuje nową instancję klasy Aspose.Imaging.Xmp.Types.Complex.Thumbnail.
[JsonConstructor]
public Thumbnail()
Thumbnail(i int, int)
Inicjalizuje nową instancję klasy Aspose.Imaging.Xmp.Types.Complex.Thumbnail.
public Thumbnail(int width, int height)
Parameters
width
int
i szerokości .
height
int
i wysokość .
Properties
Height
Dostaje lub ustawia wysokość.
public int Height { get; set; }
Wartość nieruchomości
Exceptions
wartość; wysokość nie może być mniejsza niż zero
ImageBase64
Pobierz lub ustawić obraz w formacie base64.
[JsonProperty]
public string ImageBase64 { get; set; }
Wartość nieruchomości
Width
Dostęp lub ustaw szerokość.
public int Width { get; set; }
Wartość nieruchomości
Exceptions
Wartość; Wielkość nie może być mniejsza niż zero
Methods
GetXmpRepresentation()
Otrzymuje wartość zawartą w rzędzie w formacie XMP.
public override string GetXmpRepresentation()
Returns
Powraca wartość zawartość paska w formacie XMP.