Table of Contents

Class XmpArray

Namespace
Aspose.Imaging.Xmp
Assembly
Aspose.Imaging.dll

Represents Xmp Array in XmpPackage. TODO: Array may contain complex data.

public class XmpArray : IXmlValue
Inheritance
XmpArray
Implements
Inherited Members

Constructors

XmpArray(XmpArrayType)

Initializes a new instance of the XmpArray class.

public XmpArray(XmpArrayType type)

Parameters

type XmpArrayType

The type of array.

XmpArray(XmpArrayType, string[])

Initializes a new instance of the XmpArray class.

public XmpArray(XmpArrayType type, string[] items)

Parameters

type XmpArrayType

The type of array.

items string[]

The items list.

Fields

arrayType

Array type.

protected string arrayType

Field Value

string

Properties

Values

Gets array of values inside XmpArray.

public string[] Values { get; }

Property Value

string[]

Methods

AddItem(string)

Adds new item.

public void AddItem(string item)

Parameters

item string

The item to be added to list of items.

GetXmlValue()

Converts XMP value to the XML representation.

public string GetXmlValue()

Returns

string

Returns the XMP value converted to the XML representation.

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.