Maptitude GISDK Help

GetLineWidth()

Summary

Gets the width used to draw line features.

 

Syntax

width = GetLineWidth(string lyr_set_name)

 

Argument

Contents

lyr_set_name

The name of the layer or selection set

 

Returns

A real number indicating the line width in points.

 

Notes

Examples

wid = GetLineWidth("Highways|")

 

sel_wid = GetLineWidth("Highways|Selection")

 

Error Codes

Error Type

Meaning

NotFound

The layer or selection set does not exist

 

See Also

Function

Summary

SetLineWidth()

Sets the line width used to draw line features

GetLineColor()

Gets the color used to draw line features

GetLineStyle()

Gets the style used to draw line features

 

 

©2025 Caliper Corporation www.caliper.com