GetBorderWidth()
Summary
Returns the width used to draw the border of area features.
Syntax
wid = GetBorderWidth(string lyr_set_name)
| Argument | Contents |
|---|---|
| lyr_set_name | The name of the layer or selection set |
Returns
A real number indicating the border width in points.
Notes
-
GetBorderWidth() returns null if called on a selection set that does not have a defined border width.
-
GetBorderWidth() returns zero to indicate the narrowest possible width (hairline).
Example
wid = GetBorderStyle("U.S. States|")
sel_wid = GetBorderStyle("U.S. States|Selection")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The layer or selection set does not exist |
See Also
| Function | Summary |
|---|---|
| SetBorderWidth() | Sets the line width used to draw the border of area features |
| GetBorderColor() | Returns the color used to draw the border of area features |
| GetBorderStyle() | Returns the style used to draw the border of area features |