XmpMeta Class

Summary: Represents xmpmeta. Optional.
The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF.

Module: aspose.imaging.xmp

Full Name: aspose.imaging.xmp.XmpMeta

Inheritance: IXmlValue, XmpElementBase

Constructors

NameDescription
XmpMeta()Initializes a new instance of the XmpMeta class.
XmpMeta(toolkit_version)Initializes a new instance of the XmpMeta class.

Properties

NameTypeAccessDescription
adobe_xmp_toolkitstringr/wGets or set Adobe Xmp toolkit version.

Methods

NameDescription
add_attribute(attribute, value)Adds the attribute.
clear_attributes()Removes all attributes.
get_attribute(attribute)Gets the attribute.
get_xml_value()Converts XMP value to the XML representation.

Constructor: XmpMeta()

 XmpMeta() 

Initializes a new instance of the XmpMeta class.

Constructor: XmpMeta(toolkit_version)

 XmpMeta(toolkit_version) 

Initializes a new instance of the XmpMeta class.

Parameters:

ParameterTypeDescription
toolkit_versionstringAdobe XMP toolkit version.

Method: add_attribute(attribute, value)

 add_attribute(attribute, value) 

Adds the attribute.

Parameters:

ParameterTypeDescription
attributestringThe attribute.
valuestringThe value.

Method: get_attribute(attribute)

 get_attribute(attribute) 

Gets the attribute.

Parameters:

ParameterTypeDescription
attributestringThe attribute.

Returns

TypeDescription
stringReturns the attribute for specified attribute name.

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.