Maptitude GISDK Help |
Sets the style used to fill area features.
SetFillStyle(string lyr_set_name, fillstyle fill_style)
Argument |
Contents |
lyr_set_name |
The name of the layer or selection set |
fill_style |
The fill style used to fill areas |
When used on a selection set, a null value for fill_style indicates that selected features are drawn with the default fill style for the layer.
If lyr_set_name is null, SetFillStyle() operates on the current layer.
SetFillStyle() 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.
str1 = "XXXXXXXX"
str2 = " "
solid = FillStyle({str1, str1, str1, str1, str1, str1, str1, str1})
empty = FillStyle({str2, str2, str2, str2, str2, str2, str2, str2})
SetFillStyle ("U.S. States|", empty)
SetFillStyle ("U.S. States|Selection", solid)
Error Type |
Meaning |
NotFound |
The layer or selection set does not exist |
Function |
Summary |
Creates a new fill style |
|
Returns the style used to fill area features |
|
Sets the color used to fill area features |
©2025 Caliper Corporation | www.caliper.com |