Dimensions 类

Summary: Containing dimensions for a drawn object.

Module: aspose.imaging.xmp.types.complex.dimensions

Full Name: aspose.imaging.xmp.types.complex.dimensions.Dimensions

Inheritance: IXmpType, ComplexTypeBase

Constructors

Name描述
Dimensions()初始化 Dimensions 类的新实例。
Dimensions(width, height)初始化 Dimensions 类的新实例。

Properties

NameTypeAccess描述
heightfloatr/w获取或设置高度。
namespace_uristringr获取默认命名空间 URI。
prefixstringr获取前缀。
单位stringr/w获取或设置单位。
widthfloatr/w获取或设置宽度。

Methods

Name描述
clone()克隆此实例。
get_xmp_representation()获取 XMP 格式中包含的字符串值。

Constructor: Dimensions()

 Dimensions() 

初始化 Dimensions 类的新实例。

Constructor: Dimensions(width, height)

 Dimensions(width, height) 

初始化 Dimensions 类的新实例。

Parameters:

参数TypeDescription
widthfloat宽度。
heightfloat高度。

Method: clone()

 clone() 

克隆此实例。

Returns

TypeDescription
System.Object成员逐个克隆。

Method: get_xmp_representation()

 get_xmp_representation() 

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

Returns

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