LangAlt Class

Summary: Represents XMP Language Alternative.

Module: aspose.psd.xmp

Full Name: aspose.psd.xmp.LangAlt

Inheritance: IXmlValue

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
LangAlt()Initializes a new instance of the LangAlt class.
LangAlt(default_value)Initializes a new instance of the LangAlt class.

Methods

NameDescription
add_language(language, value)Adds the language.
get_xml_value()Converts XMP value to the XML representation.

Constructor: LangAlt()

 LangAlt() 

Initializes a new instance of the LangAlt class.

Constructor: LangAlt(default_value)

 LangAlt(default_value) 

Initializes a new instance of the LangAlt class.

Parameters:

ParameterTypeDescription
default_valuestringThe default value.

Method: add_language(language, value)

 add_language(language, value) 

Adds the language.

Parameters:

ParameterTypeDescription
languagestringThe language.
valuestringThe language value.

Method: get_xml_value()

 get_xml_value() 

Converts XMP value to the XML representation.

Returns

TypeDescription
stringReturns the XMP value converted to the XML representation.