GetBorderStyle()
Summary
Returns the style used to draw the border of area features.
Syntax
sty = GetBorderStyle(string lyr_set_name)
| Argument | Contents |
|---|---|
| lyr_set_name | The name of the layer or selection set |
Returns
A line style.
Notes
-
GetBorderStyle() returns null if called on a selection set that does not have a defined border style.
Example
sty = GetBorderStyle("U.S. States|")
sel_sty = GetBorderStyle("U.S. States|Selection")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The layer or selection set does not exist |
See Also
| Function | Summary |
|---|---|
| SetBorderStyle() | Sets the line style used to draw the border of area features |
| GetBorderColor() | Returns the color used to draw the border of area features |
| GetBorderWidth() | Returns the width used to draw the border of area features |