
**Summary:** Represents Photoshop text layer.

**Module:** [aspose.imaging.xmp.schemas.photoshop](/imaging/python-net/aspose.imaging.xmp.schemas.photoshop/)

**Full Name:** aspose.imaging.xmp.schemas.photoshop.Layer

**Inheritance:** IXmpType, XmpTypeBase

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [Layer()](#Layer__1) | Initializes a new instance of the [Layer](/imaging/python-net/aspose.imaging.xmp.schemas.photoshop/layer/) class. |
| [Layer(layer_name, layer_text)](#Layer_layer_name_layer_text_2) | Initializes a new instance of the [Layer](/imaging/python-net/aspose.imaging.xmp.schemas.photoshop/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()](#clone__1) | Clones this instance. |
| [get_xmp_representation()](#get_xmp_representation__2) | Returns string contained value in XMP format. |


### Constructor: Layer() {#Layer__1}


```
 Layer() 
```

Initializes a new instance of the [Layer](/imaging/python-net/aspose.imaging.xmp.schemas.photoshop/layer/) class.

### Constructor: Layer(layer_name, layer_text) {#Layer_layer_name_layer_text_2}


```
 Layer(layer_name, layer_text) 
```

Initializes a new instance of the [Layer](/imaging/python-net/aspose.imaging.xmp.schemas.photoshop/layer/) class.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| layer_name | string | Name of the layer. |
| layer_text | string | The layer text. |

### Method: clone() {#clone__1}


```
 clone() 
```

Clones this instance.

**Returns**

| Type | Description |
| :- | :- |
| System.Object | A shallow clone. |


### Method: get_xmp_representation() {#get_xmp_representation__2}


```
 get_xmp_representation() 
```

Returns string contained value in XMP format.

**Returns**

| Type | Description |
| :- | :- |
| string | Returns string containing xmp representation. |


