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.