Maptitude GISDK Help |
Sets the color used to draw the border of area features.
SetBorderColor(string lyr_set_name, color border_color)
Argument |
Contents |
lyr_set_name |
Name of the layer or selection set |
border_color |
The color to use when drawing the border |
When used on a selection set, a null value for border_color indicates that borders of selected features is drawn with the default border color for the layer.
If lyr_set_name is null, SetBorderColor() operates on the current layer.
SetBorderColor() 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.
SetBorderColor("U.S. States|", ColorRGB(0, 0, 32000))
SetBorderColor("U.S. States|Selection", ColorRGB(32000, 0, 0))
Error Type |
Meaning |
NotFound |
The layer or selection set does not exist |
Function |
Summary |
Returns the color used to draw the border of area features |
|
Sets the line style used to draw the border of area features |
|
Sets the line width used to draw the border of area features |
©2025 Caliper Corporation | www.caliper.com |