Enum LayerLockType

LayerLockType enumeration

Layer lock options

[Flags]
public enum LayerLockType

Values

NameValueDescription
None0No layer lock
LockTransparentPixels1Partially 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.
LockImagePixels2Partially lock a layer - Prevents modification of the layer’s pixels using the painting tools.
LockPosition4Partially lock a layer - Prevents the layer’s pixels from being moved.
LockAll7Lock all properties of a layer

See Also