User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.lock_tgis_lock

Table of Contents

ITGIS_Shape.Lock method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Lock | Methods | Properties

Locks the shape for batch geometry updates to defer expensive recalculations.

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

Syntax

// C#
public void Lock(
  TGIS_Lock _lock
);
' VisualBasic
Public Sub Lock(
  ByVal _lock As TGIS_Lock
)
// Oxygene
public
  procedure Lock(
    _lock : TGIS_Lock
  );

Parameters

Name Type Description
_lock TGIS_Lock lock mode controlling which cached geometry state is deferred

Remarks

PURPOSE: Improves performance during bulk editing by postponing extent and related geometry updates until unlocking.

BEHAVIOR: Prevents immediate recalculation of selected cached values while points or parts are being modified. The exact deferred state depends on the _lock mode.

CONSTRAINTS: Must be paired with a later Unlock call to restore normal update behavior.

References

2026/07/11 00:14

Page Tools