Maptitude GISDK Help |
Sets the line styles used to draw a theme.
SetThemeLineStyles(string theme_name, array linestyles)
Argument |
Contents |
theme_name |
The name of the theme |
linestyles |
An array of line styles |
SetThemeLineStyles() assigns the first line style in the array to the Other class if it exists.
If there are fewer line styles in the array than classes in the theme, SetThemeLineStyles() reuses the line styles from the beginning of the array until all classes have a line style. If there is an Other class, it uses the first line style only once.
A null in the array indicates that the default line style for the layer is used.
solid = LineStyle({{{1, -1, 0}}}),
dashed = LineStyle({{{1, -1, 0, 1, 2}}}),
ls_array = {solid, dashed}
SetThemeLineStyles("Traffic", ls_array)
Error Type |
Meaning |
NotFound |
No theme exists with the specified name |
Function |
Summary |
Gets the list of line styles that are used to draw a theme |
|
Sets the line colors used to draw a theme |
|
Sets the line widths used to draw a theme |
|
Creates a new line style |
|
Sets the line style used to draw line features |
©2025 Caliper Corporation | www.caliper.com |