Class Thumbnail
Název místa: Aspose.Imaging.Xmp.Types.Complex.Thumbnail Shromáždění: Aspose.Imaging.dll (25.4.0)
Představuje miniaturní obrázek pro soubor.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Thumbnail
Implements
Dědiční členové
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()
Začíná nový příklad třídy Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail.
[JsonConstructor]
public Thumbnail()
Thumbnail(a int, int)
Začíná nový příklad třídy Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail.
public Thumbnail(int width, int height)
Parameters
width
int
A šířka.
height
int
na výšku.
Properties
Height
Dostane nebo nastaví výšku.
public int Height { get; set; }
Hodnota nemovitosti
Exceptions
hodnota; výška by neměla být menší než nula
ImageBase64
Obdrží nebo nastaví obrázek ve formátu base64.
[JsonProperty]
public string ImageBase64 { get; set; }
Hodnota nemovitosti
Width
Dostane nebo nastaví šířku.
public int Width { get; set; }
Hodnota nemovitosti
Exceptions
hodnota; šířka by neměla být menší než nula
Methods
GetXmpRepresentation()
Obdrží hodnotu obsaženou v řetězci ve formátu XMP.
public override string GetXmpRepresentation()
Returns
Vrátí obsahovanou hodnotu řetězce ve formátu XMP.