DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Lock | Methods | Properties
Locks the shape for batch geometry updates to defer expensive recalculations.
// C# public void Lock( TGIS_Lock _lock );
' VisualBasic Public Sub Lock( ByVal _lock As TGIS_Lock )
// Oxygene public procedure Lock( _lock : TGIS_Lock );
| Name | Type | Description |
|---|---|---|
| _lock | TGIS_Lock | lock mode controlling which cached geometry state is deferred |
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.