Maptitude GISDK Help |
Sets the fill styles used to draw a theme.
SetThemeFillStyles(string theme_name, array fillstyles)
Argument |
Contents |
theme_name |
The name of the theme |
fillstyles |
An array of fill styles |
SetThemeFillStyles() assigns the first fill style in the array to the Other class, if it exists.
If there are fewer fill styles in the array than classes in the theme, SetThemeFillStyles() resuses the fill styles from the beginning of the list until all classes have a fill style. If there is an Other class, however, it uses the first fill style only once.
A null in the array indicates that the default fill style for the layer is used.
str1 = "XXXXXXXX"
str2 = " "
solid = FillStyle({str1, str1, str1, str1, str1, str1, str1, str1})
empty = FillStyle({str2, str2, str2, str2, str2, str2, str2, str2})
style_list = {empty, solid}
SetThemeFillStyles("Household Income", style_list)
Error Type |
Meaning |
NotFound |
No theme exists with the given name |
Function |
Summary |
Gets the list of fill styles that are used to draw a theme |
|
Sets the fill colors used to draw a theme |
|
Creates a new fill style |
|
Sets the style used to fill area features |
©2025 Caliper Corporation | www.caliper.com |