Maptitude GISDK Help |
Sets the fill colors used to draw a theme.
SetThemeFillColors(string theme_name, array colors)
Argument |
Contents |
theme_name |
The name of the theme |
colors |
An array of colors |
SetThemeFillColors() assigns the first color in the array to the Other class, if it exists.
If there are fewer colors in the array than classes in the theme, SetThemeFillColors() reuses the colors from the beginning of the list until all classes have a color. If there is an Other class, however, it uses the first color only once.
A null in the array indicates that the default color for the layer is used.
clrs = GeneratePalette(ColorRGB(65000, 0, 0), ColorRGB(0, 65000, 0), 10, )
SetThemeFillColors("Household Income", clrs)
Error Type |
Meaning |
NotFound |
No theme exists with the specified name |
Function |
Summary |
Gets the list of fill colors that are used to draw a theme |
|
Sets the fill styles used to draw a theme |
|
Generates an array of gradually changing colors |
|
Sets the color used to fill area features |
©2025 Caliper Corporation | www.caliper.com |