Maptitude GISDK Help

GetThemeClassValues()

Summary

Gets the class definitions of a color or pattern theme.

 

Syntax

defs = GetThemeClassValues(string theme_name)

 

Argument

Contents

theme_name

The name of the theme

 

Returns

An array of class 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.

 

Example

cls_def1 = GetThemeClassValues("Population")

// cls_def1 = {

//     {0, "True", 780, "False"},

//     {780, "True", 1981, "False"},

//     {1981, "True", 8690, "False"},

//     {8690, "True", 24869, "True"}}

 

cls_def2 = GetThemeClassValues("Region")

// cls_def2 = {"Northeast ", "Southwest", "South", "Central", "West", "Southeast"}

 

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

GetThemeClassLabels()

Gets the class labels of a color or pattern theme

GetTheme()

Gets information about a theme

 

 

©2025 Caliper Corporation www.caliper.com