Available also on: Delphi | .NET | Java | ActiveX.
Lock mode/state for concurrent access control. Indicates whether shape is read-locked, write-locked, or unlocked.
# Python @property def LockLevel( self ) -> TGIS_Lock:
| Type |
|---|
| TGIS_Lock |
PURPOSE: Query shape's current lock state for thread-safe access. Indicates whether shape is under read/write lock from concurrent operations (rendering, editing).
BEHAVIOR: Reflects framework's internal locking state. Read-only query (locks managed by framework). Values: TGIS_Lock enumeration (Unlocked, ReadLocked, WriteLocked).
USAGE: Check thread-safety:if shape.LockLevel = Unlocked then ModifyShape;
CONSTRAINTS: Read-only (managed by framework). Informational only (not for manual locking). May change during execution.