XmpArray Class
Contents
[
Hide
]Summary: Represents Xmp Array in XmpPackage. TODO: Array may contain complex data.
Module: aspose.psd.xmp
Full Name: aspose.psd.xmp.XmpArray
Inheritance: IXmlValue
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| XmpArray(type) | Initializes a new instance of the XmpArray class. |
| XmpArray(type, items) | Initializes a new instance of the XmpArray class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| values | string | r | Gets array of values inside XmpArray. |
Methods
| Name | Description |
|---|---|
| add_item(item) | Adds new item. |
| get_xml_value() | Converts XMP value to the XML representation. |
Constructor: XmpArray(type)
XmpArray(type)
Initializes a new instance of the XmpArray class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | XmpArrayType | The type of array. |
Constructor: XmpArray(type, items)
XmpArray(type, items)
Initializes a new instance of the XmpArray class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | XmpArrayType | The type of array. |
| items | string | The items list. |
Method: add_item(item)
add_item(item)
Adds new item.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| item | string | The item to be added to list of items. |
Method: get_xml_value()
get_xml_value()
Converts XMP value to the XML representation.
Returns
| Type | Description |
|---|---|
| string | Returns the XMP value converted to the XML representation. |