Layer Class
Contents
[
Hide
]Summary: Represents Photoshop text layer.
Module: aspose.psd.xmp.schemas.photoshop
Full Name: aspose.psd.xmp.schemas.photoshop.Layer
Inheritance: IXmpType, XmpTypeBase
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| Layer() | Initializes a new instance of the Layer class. |
| Layer(layer_name, layer_text) | Initializes a new instance of the Layer class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| name | string | r/w | Gets or sets the name of the text layer. |
| text | string | r/w | Gets or sets the text content of the layer. |
Methods
| Name | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| layer_name | string | Name of the layer. |
| layer_text | string | The layer text. |
Method: get_xmp_representation()
get_xmp_representation()
Returns string contained value in XMP format.
Returns
| Type | Description |
|---|---|
| string | Returns string contained value in XMP format. |