Maptitude GISDK Help

SetMapScope()

Summary

Sets the area covered by a map.

 

Syntax

SetMapScope(string map_name, scope scp)

 

Argument

Contents

map_name

The name of the map

scp

The scope displayed in the map window

 

Notes

Example

SetMapScope("Customer Map", GetLayerScope("Customers"))

SetMapScope(null, ClickScope())     // Lets the user zoom in

 

Error Codes

Error Type

Meaning

NotFound

There is no map with the specified name

 

See Also

Function

Summary

GetMapScope()

Gets the scope of a map

GetMapWindowScope()

Gets the scope of a map using the current window width and height

GetLayerScope()

Gets the scope of a map layer

GetSetScope()

Gets the scope of the features in a selection set

SetMapDefaultScope()

Sets the default scope of a map

 

 

©2025 Caliper Corporation www.caliper.com