XmpArray Class

Summary: Represents Xmp Array in XmpPackage.

Module: aspose.imaging.xmp

Full Name: aspose.imaging.xmp.XmpArray

Inheritance: IXmpType, XmpCollection

Constructors

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

Properties

NameTypeAccessDescription
valuesstringrGets array of values inside XmpArray.

Methods

NameDescription
add(item)Adds new item.
add_item(item)Adds new item.
get_xml_value()Converts XMP value to the XML representation.
get_xmp_representation()Gets the XMP string value of this.

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)

 add(item) 

Adds new item.

Parameters:

ParameterTypeDescription
itemobjectThe item to be added to list of items.

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.

Method: get_xmp_representation()

 get_xmp_representation() 

Gets the XMP string value of this.

Returns

TypeDescription
stringReturns the string contained value in XMP format.