XmpCollection Class

Summary: An XMP element collection.

Module: aspose.imaging.xmp

Full Name: aspose.imaging.xmp.XmpCollection

Inheritance: IXmpType

Constructors

NameDescription
XmpCollection()Initializes a new instance of the XmpCollection class.

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: XmpCollection()

 XmpCollection() 

Initializes a new instance of the XmpCollection class.

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.