GetThemeLineWidths()

Summary

Gets the list of line widths that are used to draw a theme.

Syntax

line_widths = GetThemeLineWidths(string theme_name)

Argument Contents
theme_name The name of a theme on the current layer

Returns

An array of real numbers indicating line widths in points; 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 width of the underlying layer.

  • If the theme contains an Other class, its line width 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
SetThemeLineWidths() Sets the line widths for a given theme
GetThemeLineColors() Gets the list of line colors that are used to draw a theme
GetThemeLineStyles() Gets the list of line styles that are used to draw a theme