Maptitude GISDK Help

SetMapRedraw()

Summary

Controls whether map windows redraw automatically.

 

Syntax

SetMapRedraw(string map_name, boolean redraw_flag)

 

Argument

Contents

map_name

The name of the map, or null for the current map

redraw_flag

If "True" (the default), the map is redrawn automatically. If "False" map drawing is suppressed except for explicit calls to RedrawMap()

 

Notes

Example

SetMapRedraw("My Map", "False")

// Turn off the automatic drawing...

...

// Do a bunch of processing that affects the map

SetMapRedraw("My Map", "True")

// Turn the flag back on

RedrawMap()

// Redraw the map

 

Error Codes

Error Type

Meaning

NotFound

There is no map by the specified name

 

See Also

Function

Summary

GetMapRedraw()

Gets the current state of the redraw flag as set by SetMapRedraw()

SetMapSaveFlag()

Sets the flag that indicates whether a map has changed since it was last saved to a file

 

 

©2025 Caliper Corporation www.caliper.com