Click or drag to resize
LayerLockType Enumeration
Layer lock options

Namespace: Aspose.PSD.FileFormats.Psd.Layers.LayerResources
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 21.12
public enum LayerLockType
  Member nameValueDescription
None0 No layer lock
LockTransparentPixels1 Partially lock a layer - Confines editing to the opaque portions of the layer. This option is equivalent to the Preserve Transparency option in earlier versions of Photoshop.
LockImagePixels2 Partially lock a layer - Prevents modification of the layer’s pixels using the painting tools.
LockPosition4 Partially lock a layer - Prevents the layer’s pixels from being moved.
LockAll7 Lock all properties of a layer
See Also