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

Name描述
XmpMeta()初始化 XmpMeta 类的新实例。
XmpMeta(toolkit_version)初始化 XmpMeta 类的新实例。

Properties

NameTypeAccess描述
adobe_xmp_toolkitstringr/w获取或设置 Adobe Xmp 工具包版本。

Methods

Name描述
add_attribute(attribute, value)添加属性。
clear_attributes()移除所有属性。
get_attribute(attribute)获取属性。
get_xml_value()将 XMP 值转换为 XML 表示。

Constructor: XmpMeta()

 XmpMeta() 

初始化 XmpMeta 类的新实例。

Constructor: XmpMeta(toolkit_version)

 XmpMeta(toolkit_version) 

初始化 XmpMeta 类的新实例。

Parameters:

参数TypeDescription
toolkit_versionstringAdobe XMP 工具包版本。

Method: add_attribute(attribute, value)

 add_attribute(attribute, value) 

添加属性。

Parameters:

参数TypeDescription
属性string属性。
valuestring值。

Method: get_attribute(attribute)

 get_attribute(attribute) 

获取属性。

Parameters:

参数TypeDescription
属性string属性。

Returns

TypeDescription
string返回指定属性名称的属性。

Method: get_xml_value()

 get_xml_value() 

将 XMP 值转换为 XML 表示。

Returns

TypeDescription
string返回转换为 XML 表示形式的 XMP 值。