GetLineStyle()

Summary

Gets the style used to draw line features.

Syntax

sty = GetLineStyle(string lyr_set_name)

Argument Contents
lyr_set_name The name of the layer or selection set

Returns

A line style.

Notes

  • GetLineStyle() returns null if called on a selection set that does not have a defined border style.

Example

sty = GetLineStyle("Highways|")
sel_sty = GetLineStyle("Highways|Selection")

Error Codes

Error Type Meaning
NotFound The layer or selection set does not exist

See Also

Function Summary
LineStyle() Creates a new line style
SetLineStyle() Sets the line style used to draw line features
GetLineStyleDefinition() Returns an array defining the line style
GetLineColor() Gets the color used to draw line features
GetLineWidth() Gets the width used to draw line features