Maptitude GISDK Help |
Sets the line style used to draw line features.
SetLineStyle(string lyr_set_name, linestyle line_style)
Argument |
Contents |
lyr_set_name |
Name of the layer or selection set |
line_style |
The line style used to draw line features |
When used on a selection set, a null value for line_style indicates that lines of selected features should be drawn with the default line style for the layer.
If lyr_set_name is null, SetLineStyle() operates on the current layer.
solid = LineStyle({{{1, -1, 0}}}),
dashed = LineStyle({{{1, -1, 0, 1, 2}}}),
SetLineStyle("Highways|", solid)
SetLineStyle("Highways|Construction", dashed)
Error Type |
Meaning |
NotFound |
The layer or selection set does not exist |
Function |
Summary |
Creates a new line style |
|
Gets the style used to draw line features |
|
Sets the color used to draw line features |
|
Sets the line width used to draw line features |
©2025 Caliper Corporation | www.caliper.com |