SetThemeOptions()
Summary
Change some theme options.
Syntax
SetThemeOptions(string theme_name, array options)
| Argument |
Contents |
| theme_name |
The name of the theme |
| Option |
Type |
Contents |
| Other |
Boolean |
Whether to include a class (the Other class) for features whose values do not fall into any other class (color and pattern themes only) |
| Sort Order |
String |
If "Descending" classes are created starting with the highest value and working downward; if "Ascending" (the default), classes are created starting with the lowest value and working upward (numeric color and pattern themes only) |
| Title |
String |
Title of the theme, as it appears in the legend |
Example
SetThemeOptions("Pop Theme", {{"Title", "County Population"}})
Error Codes
| Error |
Meaning |
| Error |
An argument or option has the wrong type or the wrong number of values |
| NotFound |
The specified theme does not exist |
See Also