Maptitude GISDK Help

GetViewScope()

Summary

Gets the scope of a view.

 

Syntax

view_scope = GetViewScope(string view_name)

 

Argument

Contents

view_name

Name of a view, mappable to the current layer; if null, the current view is used

 

Returns

A scope that encloses all the records in the view.

 

Notes

Example

scp = GetViewScope("Customers")

SetMapScope(curr_map, scp)

 

Error Codes

Error Type

Meaning

Error

There is no current layer; the input view is not mappable to the current layer; the current layer is not geographic (e.g., an image layer); or the current layer is a compact geographic layer and the input view contains no records

NotFound

The input view does not exist, or input view_name is null and there is no current view

 

See Also

Function

Summary

GetLayerScope()

Gets the scope of a layer

GetSetScope()

Gets the scope of the features in a selection set

GetRecordScope()

Gets the scope of a given record on the current layer

 

 

©2025 Caliper Corporation www.caliper.com