Classe XmpMeta

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()Initialise une nouvelle instance de la classe XmpMeta.
XmpMeta(toolkit_version)Initialise une nouvelle instance de la classe XmpMeta.

Properties

NameTypeAccessDescription
adobe_xmp_toolkitstringr/wObtient ou définit la version du toolkit Adobe Xmp.

Methods

NameDescription
add_attribute(attribute, value)Ajoute l’attribut.
clear_attributes()Supprime tous les attributs.
get_attribute(attribute)Obtient l’attribut.
get_xml_value()Convertit la valeur XMP en représentation XML.

Constructor: XmpMeta()

 XmpMeta() 

Initialise une nouvelle instance de la classe XmpMeta.

Constructor: XmpMeta(toolkit_version)

 XmpMeta(toolkit_version) 

Initialise une nouvelle instance de la classe XmpMeta.

Parameters:

ParamètreTypeDescription
toolkit_versionstringVersion du toolkit Adobe XMP.

Method: add_attribute(attribute, value)

 add_attribute(attribute, value) 

Ajoute l’attribut.

Parameters:

ParamètreTypeDescription
attributstringL’attribut.
valuestringLa valeur.

Method: get_attribute(attribute)

 get_attribute(attribute) 

Obtient l’attribut.

Parameters:

ParamètreTypeDescription
attributstringL’attribut.

Returns

TypeDescription
stringRenvoie l’attribut pour le nom d’attribut spécifié.

Method: get_xml_value()

 get_xml_value() 

Convertit la valeur XMP en représentation XML.

Returns

TypeDescription
stringRenvoie la valeur XMP convertie en représentation XML.