| Maptitude GISDK Help |
Gets the font and character or bitmap used to draw point features.
icon = GetIcon(string lyr_set_name)
| Argument | Contents |
|---|---|
| lyr_set_name | The name of the layer or selection set |
An array of three elements:
| Element | Type | Contents |
|---|---|---|
| type | String | A string indicating the type of icon: "Font Character" or "Color Bitmap" |
| name | String | The name of a TrueType font (including size and style), or the name of the bitmap file |
| index | Real | Size of the bitmap in points, or index of a character in the font |
GetIcon() returns null if called on a selection set that does not have a defined icon.
icn = GetIcon("Cities|")
icn = GetIcon("Cities|Selection")
| Error Type | Meaning |
|---|---|
| NotFound | The layer or selection set does not exist |
| Function | Summary |
|---|---|
| SetIcon() | Sets the font and character or bitmap used to draw point features |
| GetIconColor() | Returns the color used to draw point features |
| ©2025 Caliper Corporation | www.caliper.com |