| Maptitude GISDK Help |
Sets the color used to draw point features.
SetIconColor(string lyr_set_name, color icon_color)
| Argument | Contents |
|---|---|
| lyr_set_name | The name of the layer or selection set |
| icon_color | The color used to draw point features |
When used on a selection set, a null value for icon_color indicates that the default value for the layer should be used.
If lyr_set_name is null, SetIconColor() operates on the current layer.
SetIconColor() has no effect on bitmaps.
SetIconColor() normally operates on the current map. You can force it to operate on a different map by including the map name in lyr_set_name. For instance, "Map1|LayerA|" affects the display of LayerA in Map1.
SetIconColor("Cities|", ColorRGB(50000,0,0))
SetIconColor("Cities|Capitals", ColorRGB(32000,32000,32000))
| Error Type | Meaning |
|---|---|
| NotFound | The layer or selection set does not exist |
| Function | Summary |
|---|---|
| GetIconColor() | Gets the color used to draw point features |
| SetIcon() | Sets the font and character or bitmap used to draw point features |
| SetIconSize() | Sets the point size of symbols used to draw point features |
| ©2025 Caliper Corporation | www.caliper.com |