Class Thumbnail

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

IXmpType , ICloneable

继承人

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 类的新例子。

[JsonConstructor]
public Thumbnail()

Thumbnail(int , int , int)

启动了 Aspose.Imaging.Xmp.Types.Complex.Thumbnail.Thumbnail 类的新例子。

public Thumbnail(int width, int height)

Parameters

width int

宽度。

height int

身高。

Properties

Height

接收或设置高度。

public int Height { get; set; }

财产价值

int

Exceptions

ArgumentOutOfRangeException

值;高度不能低于零

ImageBase64

以 base64 格式获取或设置图像。

[JsonProperty]
public string ImageBase64 { get; set; }

财产价值

string

Width

接收或设置宽度。

public int Width { get; set; }

财产价值

int

Exceptions

ArgumentOutOfRangeException

值;宽度不能低于零

Methods

GetXmpRepresentation()

以 XMP 格式获取包含的字符串值。

public override string GetXmpRepresentation()

Returns

string

返回在 XMP 格式中包含的字符串值。

 中文