Maptitude GISDK Help

SetLineColor()

Summary

Sets the color used to draw line features.

 

Syntax

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

 

Notes

Example

SetLineColor("Highways|", ColorRGB(0, 0, 32000))

SetLineColor("Highways|Selection", ColorRGB(32000, 0, 0))

 

Error Codes

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

 

See Also

Function Summary
GetLineColor() Gets the color used to draw line features
SetLineStyle() Sets the line style used to draw line features
SetLineWidth() Sets the line width used to draw line features

 

 

©2025 Caliper Corporation www.caliper.com