| Maptitude GISDK Help |
Gets the width used to draw line features.
width = GetLineWidth(string lyr_set_name)
| Argument | Contents |
|---|---|
| lyr_set_name | The name of the layer or selection set |
A real number indicating the line width in points.
GetLineWidth() returns null if called on a selection set that does not have a defined line width.
GetLineWidth() returns zero to indicate the narrowest possible width (hairline).
wid = GetLineWidth("Highways|")
sel_wid = GetLineWidth("Highways|Selection")
| Error Type | Meaning |
|---|---|
| NotFound | The layer or selection set does not exist |
| 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 |