Maptitude GISDK Help |
Sets the line width used to draw the border of area features.
SetBorderWidth(string lyr_set_name, real border_width)
Argument |
Contents |
lyr_set_name |
Name of the layer or selection set |
border_width |
The border width in points |
A border width of zero indicates the narrowest possible line (hairline).
You should set a border width of at least 0.25 if you plan to print the map.
When used on a selection set, a null value for border_width indicates that borders of selected features are drawn with the default border width for the layer.
If lyr_set_name is null, SetBorderWidth() operates on the current layer.
SetBorderWidth() 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.
SetBorderWidth("U.S. States|", 0.25)
SetBorderWidth("U.S. States|Selection", 2.5)
Error Type |
Meaning |
NotFound |
The layer or selection set does not exist |
Function |
Summary |
Returns the width used to draw the border of area features |
|
Sets the color used to draw the border of area features |
|
Sets the line style used to draw the border of area features |
©2025 Caliper Corporation | www.caliper.com |