Class Thumbnail
İsim alanı : Aspose.Imaging.Xmp.Types.Complex.Thumbnail Toplantı: Aspose.Imaging.dll (25.4.0)
Bir dosya için küçük bir görüntü temsil eder.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Thumbnail
Implements
mirasçı üyeleri
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 sınıfının yeni bir örneğini başlatır.
[JsonConstructor]
public Thumbnail()
Thumbnail(int , int , int)
Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail sınıfının yeni bir örneğini başlatır.
public Thumbnail(int width, int height)
Parameters
width
int
Genişlik için.
height
int
Yükseklik için.
Properties
Height
Yükseliş yapar ya da yapar.
public int Height { get; set; }
Mülkiyet Değer
Exceptions
değer; yükseklik sıfırdan daha az olamaz
ImageBase64
Görüntüyü bas64 biçiminde alır veya yerleştirir.
[JsonProperty]
public string ImageBase64 { get; set; }
Mülkiyet Değer
Width
Genişliği alır veya ayarlar.
public int Width { get; set; }
Mülkiyet Değer
Exceptions
değer; Genişlik sıfırdan daha az olamaz
Methods
GetXmpRepresentation()
Çizgi içerdiği değeri XMP biçiminde alır.
public override string GetXmpRepresentation()
Returns
XMP biçiminde satılan değeri döndürür.