LayerLockType enumeration

Layer lock options

public enum LayerLockType


Name Value Description
None 0 No layer lock
LockTransparentPixels 1 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.
LockImagePixels 2 Partially lock a layer - Prevents modification of the layer’s pixels using the painting tools.
LockPosition 4 Partially lock a layer - Prevents the layer’s pixels from being moved.
LockAll 7 Lock all properties of a layer

See Also