Maptitude GISDK Help

GetThemeClassLabels()

Summary

Gets the class labels of a color or pattern theme.

 

Syntax

labels = GetThemeClassLabels(string theme_name)

 

Argument Contents
theme_name The name of the theme

 

Returns

An array of class labels (strings). The first label is for the Other class (if it exists), followed by the labels for the regular classes.

 

Example

cls_labels = GetThemeClassLabels("some theme")

// cls_labels = {"Other", "Low", "Medium", "High"}

 

Error Codes

Error Meaning
NotFound The specified theme does not exist

 

See Also

Function Summary
GetThemeClassCounts() Gets the number of features in each class of a color or pattern theme
GetThemeClasses() Gets information about the classes of a color or pattern theme
GetThemeClassValues() Gets the class definitions of a color or pattern theme
SetThemeClassLabel() Change the label for a class in a color, pattern, dot, or chart theme
SetThemeClassLabels() Gets the class labels of a color or pattern theme
GetTheme() Gets information about a theme

 

 

©2025 Caliper Corporation www.caliper.com