XmpArray 类

Summary: Represents Xmp Array in XmpPackage.

Module: aspose.imaging.xmp

Full Name: aspose.imaging.xmp.XmpArray

Inheritance: IXmpType, XmpCollection

Constructors

Name描述
XmpArray(type, items)初始化 XmpArray 类的新实例。

Properties

NameTypeAccess描述
valuesstring[]r获取 XmpArray 中的值数组。

Methods

Name描述
add(item)添加新项。
add_item(item)添加新项。
get_xml_value()将 XMP 值转换为 XML 表示。
get_xmp_representation()获取此项的 XMP 字符串值。

Constructor: XmpArray(type, items)

 XmpArray(type, items) 

初始化 XmpArray 类的新实例。

Parameters:

参数TypeDescription
typeXmpArrayType数组的类型。
string[]项列表。

Method: add(item)

 add(item) 

添加新项。

Parameters:

参数TypeDescription
System.Object要添加到项目列表中的项目。

Method: add_item(item)

 add_item(item) 

添加新项。

Parameters:

参数TypeDescription
string要添加到项目列表中的项目。

Method: get_xml_value()

 get_xml_value() 

将 XMP 值转换为 XML 表示。

Returns

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

Method: get_xmp_representation()

 get_xmp_representation() 

获取此项的 XMP 字符串值。

Returns

TypeDescription
string返回 XMP 格式中包含的字符串值。