Maptitude GISDK Help

GetLineColor()

Summary

Gets the color used to draw line features.

 

Syntax

clr = GetLineColor(string lyr_set_name)

 

Argument

Contents

lyr_set_name

The name of the layer or selection set

 

Returns

A color (red, green, blue, and alpha).

 

Notes

Example

clr = GetLineColor("Highways|")

sel_clr = GetLineColor("Highways|Selection")

 

Error Codes

Error Type

Meaning

NotFound

The layer or selection set does not exist

 

See Also

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