Maptitude GISDK Help |
Gets information about the classes of a color or pattern theme.
info = GetThemeClasses(string theme_name)
Argument |
Contents |
theme_name |
the name of the theme |
The following information about the theme classes:
Element |
Type |
Contents |
1 |
Array |
An array of class labels (strings), starting with the label for the Other class (if it exists) and followed by the labels for the remaining classes |
2 |
Array |
An array of class value definitions; this could be an array of strings; an array of real numbers, or an array of {real low_value, boolean low_inclusive, real hi_value, boolean hi_inclusive}. No definition is provided for the Other class |
3 |
Array |
An array of integers indicating the number of features in each class, starting with the count for the Other class (if it exists) and followed by the counts for the remaining classes |
cls_info = GetThemeClasses("some theme")
// cls_info = {
// {"Other", "Low", "Medium", "High"},
// {"Low", "Medium", "High"},
// {22, 50, 86, 42}
// }
Error |
Meaning |
NotFound |
The specified theme does not exist |
Function |
Summary |
Creates a color or pattern theme on the current layer |
|
Gets the number of features in each class of a color or pattern theme |
|
Gets the class labels of a color or pattern theme |
|
Gets the class definitions of a color or pattern theme |
|
Gets a list of options for a theme |
|
Gets statistical information about a color or pattern theme |
|
Gets information about a theme |
|
Provides information on the classes created by a call to CreateTheme() |
©2025 Caliper Corporation | www.caliper.com |