Maptitude GISDK Help

GetThemeClasses()

Summary

Gets information about the classes of a color or pattern theme.

 

Syntax

info = GetThemeClasses(string theme_name)

 

Argument Contents
theme_name the name of the theme

 

Returns

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

 

Example

cls_info = GetThemeClasses("some theme")

// cls_info = {

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

//     {"Low", "Medium", "High"},

//     {22, 50, 86, 42}

//     }

 

Error Codes

Error Meaning
NotFound The specified theme does not exist

 

See Also

Function Summary
CreateTheme() Creates a color or pattern theme on the current layer
GetThemeClassCounts() Gets the number of features in each class of a color or pattern theme
GetThemeClassLabels() Gets the class labels of a color or pattern theme
GetThemeClassValues() Gets the class definitions of a color or pattern theme
GetThemeOptions() Gets a list of options for a theme
GetThemeStatistics() Gets statistical information about a color or pattern theme
GetTheme() Gets information about a theme
TestTheme() Provides information on the classes created by a call to CreateTheme()

 

 

©2025 Caliper Corporation www.caliper.com