XmpElementBase Class

Summary: Represents base xmp element contains attributes.

Module: aspose.imaging.xmp

Full Name: aspose.imaging.xmp.XmpElementBase

Methods

NameDescription
add_attribute(attribute, value)Adds the attribute.
clear_attributes()Removes all attributes.
get_attribute(attribute)Gets the attribute.

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.