User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.locklevel

Table of Contents

TGIS_Shape.LockLevel property

DK for .NET | TatukGIS.NDK.TGIS_Shape.LockLevel | Constructors | Fields | Methods | Properties

Lock mode/state for concurrent access control. Indicates whether shape is read-locked, write-locked, or unlocked.

Available also on: Delphi | Java | ActiveX | Python.

Syntax

// C#
public TGIS_Lock LockLevel
{
  get {}
}
' VisualBasic
Public Property LockLevel As TGIS_Lock
  Get
  End Get
End Property
// Oxygene
public
  property LockLevel : TGIS_Lock read;

Value

Type
TGIS_Lock

Remarks

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.

2026/07/03 02:00

Page Tools