Skip to main content
A newer version of this page is available. .

TdxCustomMapControl.BeginUpdate Method

Prevents the map control from being repainted until the EndUpdate method is called.

Declaration

procedure BeginUpdate;

Remarks

Each time the layout/appearance options are changed, the map control initiates complete content repainting to reflect these changes. If you need to change several options at once, a sequence of painting updates occurs. To postpone these updates, enclose the code that modifies these options within the BeginUpdate/EndUpdate method blocks.

The BeginUpdate method postpones updates. To apply the changes made, call the EndUpdate method. Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method, even if an exception occurs.

See Also