Layer Class

Summary: Represents Photoshop text layer.

Module: aspose.imaging.xmp.schemas.photoshop

Full Name: aspose.imaging.xmp.schemas.photoshop.Layer

Inheritance: IXmpType, XmpTypeBase

Constructors

NameDescription
Layer()Initializes a new instance of the Layer class.
Layer(layer_name, layer_text)Initializes a new instance of the Layer class.

Properties

NameTypeAccessDescription
namestringr/wGets or sets the name of the text layer.
textstringr/wGets or sets the text content of the layer.

Methods

NameDescription
get_xmp_representation()Returns string contained value in XMP format.

Constructor: Layer()

 Layer() 

Initializes a new instance of the Layer class.

Constructor: Layer(layer_name, layer_text)

 Layer(layer_name, layer_text) 

Initializes a new instance of the Layer class.

Parameters:

ParameterTypeDescription
layer_namestringName of the layer.
layer_textstringThe layer text.

Method: get_xmp_representation()

 get_xmp_representation() 

Returns string contained value in XMP format.

Returns

TypeDescription
stringReturns string containing xmp representation.