Maptitude GISDK Help |
Sets the line width used to draw line features.
SetLineWidth(string lyr_set_name, real line_width)
Argument |
Contents |
lyr_set_name |
Name of the layer or selection set |
line_width |
The line width in points |
A line width of zero indicates the narrowest possible line (hairline).
You should set a line width of at least 0.25 if you plan to print the map.
When used on a selection set, a null value for line_width indicates that lines of selected features are drawn with the default line width for the layer.
If lyr_set_name is null, SetLineWidth() operates on the current layer.
SetLineWidth("Highways|", 0.25)
SetLineWidth("Highways|Interstate", 2.5)
Error Type |
Meaning |
NotFound |
The layer or selection set does not exist |
Function |
Summary |
Gets the width used to draw line features |
|
Sets the color used to draw line features |
|
Sets the line style used to draw line features |
©2025 Caliper Corporation | www.caliper.com |