Maptitude GISDK Help

ShowTheme()

Summary

Displays a theme on the current layer.

 

Syntax

ShowTheme(string set_name, string theme_name)

 

Argument Contents
set_name Name of the selection set on which the theme is to be shown, or null to show the theme on all features in the layer
theme_name Name of the theme

 

Example

// Show the Income theme on the current layer

ShowTheme(, "Household Income")

 

// Show the Dot density theme only on those features in the

// Northeast selection set

ShowTheme("Northeast", "Dot density map")

 

Error Codes

Error Type Meaning
NotFound The selection set or theme does not exist

 

See Also

Function Summary
HideTheme() Switches off the display of a theme on the current layer
CreateTheme() Creates a color or pattern theme on the current layer
CreateChartTheme() Creates a pie or bar chart theme on the current layer
CreateDotTheme() Creates a dot-density theme on the current layer
CreateContinuousTheme() Creates a scaled-symbol theme on the current layer
GetDisplayedThemes() Gets a list of themes shown on a layer or selection set

 

 

©2025 Caliper Corporation www.caliper.com