Maptitude GISDK Help

SetLineWidth()

Summary

Sets the line width used to draw line features.

 

Syntax

SetLineWidth(string lyr_set_name, real line_width)

 

Argument Contents
lyr_set_name Name of the layer or selection set
line_width The line width in points

 

Notes

Example

SetLineWidth("Highways|", 0.25)

SetLineWidth("Highways|Interstate", 2.5)

 

Error Codes

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

 

See Also

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

 

 

©2025 Caliper Corporation www.caliper.com