XmpArray Class

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.4.0

Constructors

NameDescription
XmpArray(type)Initializes a new instance of the XmpArray class.
XmpArray(type, items)Initializes a new instance of the XmpArray class.

Properties

NameTypeAccessDescription
valuesstringrGets array of values inside XmpArray.

Methods

NameDescription
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:

ParameterTypeDescription
typeXmpArrayTypeThe type of array.

Constructor: XmpArray(type, items)

 XmpArray(type, items) 

Initializes a new instance of the XmpArray class.

Parameters:

ParameterTypeDescription
typeXmpArrayTypeThe type of array.
itemsstringThe items list.

Method: add_item(item)

 add_item(item) 

Adds new item.

Parameters:

ParameterTypeDescription
itemstringThe item to be added to list of items.

Method: get_xml_value()

 get_xml_value() 

Converts XMP value to the XML representation.

Returns

TypeDescription
stringReturns the XMP value converted to the XML representation.