Maptitude GISDK Help |
Changes the label used in the legend for the list of sets belonging to a layer.
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" |
The legend normally creates this label automatically (e.g., County Selection Sets).
SetLayerSetsLabel() affects all open maps that contain the layer.
SetLayerSetsLabel(GetMap() + "|" + GetLayer(), "My Selection Sets", "True")
Error Type |
Meaning |
Error |
The layer_name is invalid |
NotFound |
There is no layer with the specified name |
Function |
Summary |
Returns the label used in the legend for the list of sets belonging to a layer |
©2025 Caliper Corporation | www.caliper.com |