XmpElementBase 类

Summary: Represents base xmp element contains attributes.

Module: aspose.imaging.xmp

Full Name: aspose.imaging.xmp.XmpElementBase

Methods

Name描述
add_attribute(attribute, value)添加属性。
clear_attributes()移除所有属性。
get_attribute(attribute)获取属性。

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返回指定属性名称的属性。