Maptitude GISDK Help

SetView()

Summary

Sets the current view (and the current layer).

 

Syntax

SetView(string view_name)

 

Argument Contents
view_name The new current view

 

Notes

Example

old_view = GetView()

SetView("Sales")

          // Do some stuff on the Sales view...

SetView(old_view)

 

Error Codes

Error Type Meaning
NotFound The specified view does not exist

 

See Also

Function Summary
GetView() Gets the name of the current view
GetViews() Gets information on views in the system or views associated with a layer
GetViewNames() Gets a list of all views
GetViewLayer() Gets the name of the map layer that corresponds to a view
SetLayer() Sets the current layer (and the current view)

 

 

©2025 Caliper Corporation www.caliper.com