| Maptitude GISDK Help |
Change the labels for classes in a color, pattern, dot, or chart theme.
SetThemeClassLabels(string theme_name, array labels)
| Argument | Contents |
|---|---|
| theme_name | The name of the theme |
| labels | An array of new class labels (strings), starting with the Other class if it exists |
SetThemeClassLabels() changes the labels that are used in the map legend to identify classes in a theme.
The original labels are generated automatically.
thm = CreateTheme("Population Theme", "State.Population", "Quantiles", 3, )
lbls = {"No Data Avilable", "Low", "Medium", "High"}
SetThemeClassLabels(thm, lbls)
| Error | Meaning |
|---|---|
| NotFound | The specified theme does not exist |
| Function | Summary |
|---|---|
| GetThemeClassLabels() | Gets the class labels of a color or pattern theme |
| SetThemeClassLabel() | Changes the label for a class in a color, pattern, dot, or chart theme |
| GetThemeClasses() | Gets information about the classes of a color or pattern theme |
| GetTheme() | Gets information about a theme |
| ©2025 Caliper Corporation | www.caliper.com |