GetThemeFillColors()
Summary
Gets the list of fill colors that are used to draw a theme.
Syntax
clrs = GetThemeFillColors(string theme_name)
| Argument | Contents |
|---|---|
| theme_name | The name of a theme on the current layer |
Returns
An array of colors, one for each class in the theme.
Notes
-
A null entry in the returned array indicates that the objects in the corresponding class are drawn in the fill color of the underlying layer.
-
If the theme contains an Other class, its color is the first element of the array.
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The theme with the given name does not exist on the current layer |
See Also
| Function | Summary |
|---|---|
| SetThemeFillColors() | Sets the fill colors for a given theme |
| GetThemeFillStyles() | Gets the list of fill styles that are used to draw a theme |