Maptitude GISDK Help

GetLayerScope()

Summary

Gets the scope of a layer.

 

Syntax

layer_scope = GetLayerScope(string layer_name)

 

Argument Contents
layer_name The name of the specified layer

 

Returns

The scope of the layer.

 

Notes

Example

scp = GetLayerScope("U.S. States")

SetMapScope(, scp)

 

Error Codes

Error Type Meaning
NotFound The specified layer does not exist
Error Image database file is corrupted, or an internal error has occurred

 

See Also

Function Summary
GetSetScope() Gets the scope of the features in a selection set.
GetMapScope() Gets the scope of a map
Scope() Creates a scope

 

 

©2025 Caliper Corporation www.caliper.com