GetIconColor()
Summary
Gets the color used to draw point features.
Syntax
clr = GetIconColor(string lyr_set_name)
| Argument | Contents |
|---|---|
| lyr_set_name | The name of the layer or selection set |
Returns
A color (red, green, blue, and alpha).
Notes
-
GetIconColor() returns null if called on a selection set that does not have a defined color.
Example
clr = GetIconColor("Cities|")
sel_clr = GetIconColor("Cities|Selection")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The layer or selection set does not exist |
See Also
| Function | Summary |
|---|---|
| SetIconColor() | Sets the color used to draw point features |
| GetIcon() | Gets the font and character or bitmap used to draw point features |