Maptitude GISDK Help

SetLayerSetsLabel()

Summary

Changes the label used in the legend for the list of sets belonging to a layer.

 

Syntax

SetLayerSetsLabel(string layer_name, string sets_label, string flag)

 

Argument

Contents

layer_name

The name of the layer

sets_label

The new label for the collection of sets

flag

"True" to show the label in the legend, otherwise "False"

 

Notes

Example

SetLayerSetsLabel(GetMap() + "|" + GetLayer(), "My Selection Sets", "True")

 

Error Codes

Error Type

Meaning

Error

The layer_name is invalid

NotFound

There is no layer with the specified name

 

See Also

Function

Summary

GetLayerSetsLabel()

Returns the label used in the legend for the list of sets belonging to a layer

 

 

©2025 Caliper Corporation www.caliper.com