Maptitude GISDK Help

GetLineStyle()

Summary

Gets the style used to draw line features.

 

Syntax

sty = GetLineStyle(string lyr_set_name)

 

Argument Contents
lyr_set_name The name of the layer or selection set

 

Returns

A line style.

 

Notes

Example

sty = GetLineStyle("Highways|")

sel_sty = GetLineStyle("Highways|Selection")

 

Error Codes

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

 

See Also

Function Summary
LineStyle() Creates a new line style
SetLineStyle() Sets the line style used to draw line features
GetLineStyleDefinition() Returns an array defining the line style
GetLineColor() Gets the color used to draw line features
GetLineWidth() Gets the width used to draw line features

 

 

©2025 Caliper Corporation www.caliper.com