GetThemeLineStyles()
Summary
Gets the list of line styles that are used to draw a theme.
Syntax
line_styles = GetThemeLineStyles(string theme_name)
| Argument | Contents |
|---|---|
| theme_name | The name of a theme on the current layer |
Returns
An array of line styles, one for each class in the theme.
Notes
-
A null entry in the returned array indicates that objects in the corresponding class are drawn with the line style of the underlying layer.
-
If the theme contains an Other class, its line style 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 |
|---|---|
| SetThemeLineStyles() | Sets the line styles used to draw a theme |
| GetThemeLineColors() | Gets the list of line colors that are used to draw a theme |
| GetThemeLineWidths() | Gets the list of line widths that are used to draw a theme |