GetThemeLineColors()
Summary
Gets the list of line colors that are used to draw a theme.
Syntax
clrs = GetThemeLineColors(string theme_name)
| Argument | Contents |
|---|---|
| theme_name | The name of a theme on the current layer |
Returns
An array of line 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 with the line 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 specified theme does not exist on the current layer |
See Also
| Function | Summary |
|---|---|
| SetThemeLineColors() | Sets the line colors for a given theme |
| GetThemeLineWidths() | Gets the list of line widths that are used to draw a theme |
| GetThemeLineStyles() | Gets the list of line styles that are used to draw a theme |