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.
[JsonConstructor]
public Thumbnail()
Thumbnail(в, в)
Иницијализира нова инстанция на клас Aspose.Imaging.Xmp.Types.Complex.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 формат.