| Maptitude GISDK Help |
Removes the definition of a theme from the current layer.
DestroyTheme(string theme_name)
| Argument | Contents |
|---|---|
| theme_name | The name of the theme to remove |
HideTheme() should be called immediately prior to calling DestroyTheme().
SetLayer("U.S. States")
HideTheme( , "Income Theme") // First hide the theme...
DestroyTheme("Income Theme") // Then delete it...
| Error Type | Meaning |
|---|---|
| NotFound | The current layer is an image layer, or no such theme exists |
| Function | Summary |
|---|---|
| CreateTheme() | Creates a color or pattern theme on the current layer |
| CreateChartTheme() | Creates a pie or bar chart theme on the current layer |
| CreateContinuousTheme() | Creates a continuous (scaled-Symbol) theme on the current layer |
| CreateDotTheme() | Creates a dot-density theme on the current layer |
| GetTheme() | Gets information about a theme |
| GetThemes() | Gets a list of themes defined on the current layer |
| HideTheme() | Switches off the display of a theme on the current layer |
| ©2025 Caliper Corporation | www.caliper.com |