Classe XmpMeta
Contenu
[
Cacher
]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
| Name | Description |
|---|---|
| XmpMeta() | Initialise une nouvelle instance de la classe XmpMeta. |
| XmpMeta(toolkit_version) | Initialise une nouvelle instance de la classe XmpMeta. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| adobe_xmp_toolkit | string | r/w | Obtient ou définit la version du toolkit Adobe Xmp. |
Methods
| Name | Description |
|---|---|
| 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ètre | Type | Description |
|---|---|---|
| toolkit_version | string | Version du toolkit Adobe XMP. |
Method: add_attribute(attribute, value)
add_attribute(attribute, value)
Ajoute l’attribut.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| attribut | string | L’attribut. |
| value | string | La valeur. |
Method: get_attribute(attribute)
get_attribute(attribute)
Obtient l’attribut.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| attribut | string | L’attribut. |
Returns
| Type | Description |
|---|---|
| string | Renvoie 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
| Type | Description |
|---|---|
| string | Renvoie la valeur XMP convertie en représentation XML. |