Layer Class
Contents
[
Hide
]Summary: Represents Photoshop text layer.
Module: aspose.imaging.xmp.schemas.photoshop
Full Name: aspose.imaging.xmp.schemas.photoshop.Layer
Inheritance: IXmpType, XmpTypeBase
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 |
|---|---|
| clone() | Clones this instance. |
| 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: clone()
clone()
Clones this instance.
Returns
| Type | Description |
|---|---|
| System.Object | A memberwise clone. |
Method: get_xmp_representation()
get_xmp_representation()
Returns string contained value in XMP format.
Returns
| Type | Description |
|---|---|
| string | Returns string containing xmp representation. |