XmpLangAlt class

XmpLangAlt class

Represents XMP Language Alternative.

An alternative array of simple text items. Language alternatives facilitate the selection of a simple text item based on a desired language. Each array item shall have an xml:lang qualifier. Each xml:lang value shall be unique among the items.

Inheritance: XmpLangAltXmpArrayXmpValueBasePropertyValue

The XmpLangAlt type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the XmpLangAlt class.

Properties

Property Description
type Gets the MetadataPropertyType.
raw_value Gets the raw value.
array_type Gets the type of the XMP array.
languages Gets an array of all languages registered in the instance of XmpLangAlt.

Methods

Method Description
from_address Creates an XmpArray instance form a string array.
from_address Creates an XmpArray instance form an integer array.
from_address Creates an XmpArray instance form a date array.
from_address Creates an XmpArray instance form a double array.
accept_value Extracts the property value using a custom ValueAcceptor.
get_xmp_representation Converts XMP value to the xml representation.
contains Determines whether the XmpLangAlt contains the specified language.

See Also