Maptitude GISDK Help |
Sets the color used to draw line features.
SetLineColor(string lyr_set_name, color line_color)
Argument |
Contents |
lyr_set_name |
Name of the layer or selection set |
line_color |
The color to use when drawing the line feature |
When used on a selection set, a null value for line_color indicates that lines of selected features should be drawn with the default line color of the layer.
If lyr_set_name is null, SetLineColor() operates on the current layer.
SetLineColor("Highways|", ColorRGB(0, 0, 32000))
SetLineColor("Highways|Selection", ColorRGB(32000, 0, 0))
Error Type |
Meaning |
NotFound |
The layer or selection set does not exist |
Function |
Summary |
Gets the color used to draw line features |
|
Sets the line style used to draw line features |
|
Sets the line width used to draw line features |
©2025 Caliper Corporation | www.caliper.com |