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
| Name | Type | Access | 描述 |
|---|---|---|---|
| height | float | r/w | 获取或设置高度。 |
| namespace_uri | string | r | 获取默认命名空间 URI。 |
| prefix | string | r | 获取前缀。 |
| 单位 | string | r/w | 获取或设置单位。 |
| width | float | r/w | 获取或设置宽度。 |
Methods
| Name | 描述 |
|---|---|
| clone() | 克隆此实例。 |
| get_xmp_representation() | 获取 XMP 格式中包含的字符串值。 |
Constructor: Dimensions()
Dimensions()
初始化 Dimensions 类的新实例。
Constructor: Dimensions(width, height)
Dimensions(width, height)
初始化 Dimensions 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| width | float | 宽度。 |
| height | float | 高度。 |
Method: clone()
clone()
克隆此实例。
Returns
| Type | Description |
|---|---|
| System.Object | 成员逐个克隆。 |
Method: get_xmp_representation()
get_xmp_representation()
获取 XMP 格式中包含的字符串值。
Returns
| Type | Description |
|---|---|
| string | 返回 XMP 格式中包含的字符串值。 |