Class Thumbnail
Pôvodný názov: Aspose.Imaging.Xmp.Types.Complex.Thumbnail Zhromaždenie: Aspose.Imaging.dll (25.4.0)
Predstavuje miniatúrny obrázok pre súbor.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Thumbnail : ComplexTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← ComplexTypeBase ← Thumbnail
Implements
Z dedičných č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()
Initalizuje novú inštanciu triedy Aspose.Imaging.Xmp.Types.Complex.Thumbnail.
[JsonConstructor]
public Thumbnail()
Thumbnail(a int, int)
Initalizuje novú inštanciu triedy Aspose.Imaging.Xmp.Types.Complex.Thumbnail.
public Thumbnail(int width, int height)
Parameters
width
int
Na šírku .
height
int
na výšku .
Properties
Height
Získať alebo nastaviť výšku.
public int Height { get; set; }
Hodnota nehnuteľnosti
Exceptions
hodnota; výška by nemala byť nižšia ako nula
ImageBase64
Získajte alebo nastavíte obrázok vo formáte base64.
[JsonProperty]
public string ImageBase64 { get; set; }
Hodnota nehnuteľnosti
Width
Získať alebo nastaviť šírku.
public int Width { get; set; }
Hodnota nehnuteľnosti
Exceptions
hodnota;Výška by nemala byť nižšia ako nula
Methods
GetXmpRepresentation()
Získa hodnotu pruhov obsiahnutých vo formáte XMP.
public override string GetXmpRepresentation()
Returns
Vráti obsahovanú hodnotu reťazca vo formáte XMP.