CreateGroupByTheme()
Summary
Creates multiple selection sets of records, using an existing theme.
Syntax
CreateGroupByTheme(string theme_name)
| Argument | Contents |
|---|---|
| theme_name | The name of the theme |
Returns
An array of new set names.
Notes
-
One selection set is created for each theme class.
Example
// An income classification with eight classes
sets = CreateGroupByTheme("Income Theme")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The specified theme does not exist |
See Also
| Function | Summary |
|---|---|
| CreateGroup() | Creates multiple selection sets of records, using the classification technology of CreateTheme() |
| CreateTheme() | Creates a color or pattern theme on the current layer |
| TestTheme() | Provides information on the classes created by a call to CreateTheme() |