| Maptitude GISDK Help |
Gets a list of themes defined on the current layer.
theme_names = GetThemes(string layer)
| Argument | Contents |
|---|---|
| layer | The name of the layer |
An array of theme names (strings), or null if there are no themes.
SetLayer("U.S. States")
thms = GetThemes()
for i = 1 to thms.length do
ShowMessage("The theme's name was " + thms[i])
DestroyTheme(thms[i])
end
| Error | Meaning |
|---|---|
| NotFound | The specified layer does not exist |
| 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 |
| DestroyTheme() | Removes the definition of a theme from the current layer |
| GetDisplayedThemes() | Gets a list of themes shown on a layer or selection set |
| GetTheme() | Gets information about a theme |
| ©2025 Caliper Corporation | www.caliper.com |