| Maptitude GISDK Help |
Gets the color used to draw line features.
clr = GetLineColor(string lyr_set_name)
| Argument | Contents |
|---|---|
| lyr_set_name | The name of the layer or selection set |
A color (red, green, blue, and alpha).
GetLineColor() returns null if called on a selection set that does not have a defined color.
clr = GetLineColor("Highways|")
sel_clr = GetLineColor("Highways|Selection")
| Error Type | Meaning |
|---|---|
| NotFound | The layer or selection set does not exist |
| Function | Summary |
|---|---|
| SetLineColor() | Sets the color used to draw line features |
| GetLineWidth() | Gets the width used to draw line features |
| GetLineStyle() | Gets the style used to draw line features |
| ©2025 Caliper Corporation | www.caliper.com |