Maptitude GISDK Help

SetThemeClassLabel()

Summary

Change the label for a class in a color, pattern, dot, or chart theme.

 

Syntax

SetThemeClassLabel(string theme_name, string label, integer index)

 

Argument

Contents

theme_name

The name of the theme

label

The new class label

index

The class index; use 1 for the other class if it exists

 

Notes

Example

thm = CreateTheme("Population Theme", "State|.Population", "Quantiles", 3, )

SetThemeClassLabel(thm, "No Data Available", 1)

SetThemeClassLabel(thm, "Low", 2)

SetThemeClassLabel(thm, "Medium", 3)

SetThemeClassLabel(thm, "High", 4)

 

Error Codes

Error

Meaning

NotFound

The specified theme does not exist

Error

Index is larger than the total number of classes or less than one

 

See Also

Function

Summary

GetThemeClassLabels()

Gets the class labels of a color or pattern theme

SetThemeClassLabels()

Changes the labels for classes 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