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