XmpCollection 类
Summary: An XMP element collection.
Module: aspose.imaging.xmp
Full Name: aspose.imaging.xmp.XmpCollection
Inheritance: IXmpType
Constructors
| Name | 描述 |
|---|---|
| XmpCollection() | 初始化 XmpCollection 类的新实例。 |
Methods
| Name | 描述 |
|---|---|
| add(item) | 添加新项。 |
| add_item(item) | 添加新项。 |
| get_xml_value() | 将 XMP 值转换为 XML 表示。 |
| get_xmp_representation() | 获取此项的 XMP 字符串值。 |
Constructor: XmpCollection()
XmpCollection()
初始化 XmpCollection 类的新实例。
Method: add(item)
add(item)
添加新项。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 项 | System.Object | 要添加到项目列表中的项目。 |
Method: add_item(item)
add_item(item)
添加新项。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| 项 | string | 要添加到项目列表中的项目。 |
Method: get_xml_value()
get_xml_value()
将 XMP 值转换为 XML 表示。
Returns
| Type | Description |
|---|---|
| string | 返回转换为 XML 表示形式的 XMP 值。 |
Method: get_xmp_representation()
get_xmp_representation()
获取此项的 XMP 字符串值。
Returns
| Type | Description |
|---|---|
| string | 返回 XMP 格式中包含的字符串值。 |