
Layer lock options

**Module:** [aspose.psd.fileformats.psd.layers.layerresources](/psd/python-net/aspose.psd.fileformats.psd.layers.layerresources/)

**Full Name:** aspose.psd.fileformats.psd.layers.layerresources.LayerLockType

**Aspose.PSD Version:** 24.12.0

## **Members**
| **Member name** | **Description** |
| :- | :- |
| LOCK_ALL | Lock all properties of a layer |
| LOCK_IMAGE_PIXELS | Partially lock a layer  - Prevents modification of the layer’s pixels using the painting tools. |
| LOCK_POSITION | Partially lock a layer  - Prevents the layer’s pixels from being moved. |
| LOCK_TRANSPARENT_PIXELS | Partially lock a layer  - Confines editing to the opaque portions of the layer. <br/>            This option is equivalent to the Preserve Transparency option in earlier versions of Photoshop. |
| NONE | No layer lock |
