DK for .NET | TatukGIS.NDK.IGIS_Viewer.Lock | Methods | Properties
Lock the viewer to batch visual updates.
// C# public void Lock();
' VisualBasic Public Sub Lock()
// Oxygene public procedure Lock;
PURPOSE: Prevent intermediate screen updates while multiple viewer or layer changes are performed.
BEHAVIOR: Defers repainting until Unlock is called. This is useful when many visual changes would otherwise trigger repeated redraws. For some layers, unlocking the viewer can be a time-consuming operation.
USAGE: Batch multiple selection changes into a single repaint.
GIS.Lock() update_selection() GIS.Unlock()