Maptitude GISDK Help |
Sets the line widths used to draw a theme.
SetThemeLineWidths(string theme_name, array linewidths)
Argument |
Contents |
theme_name |
The name of the theme |
linewidths |
An array of line widths |
SetThemeLineWidths() assigns the first line width in the array to the Other class if it exists.
If there are fewer line widths in the array than classes in the theme, SetThemeLineWidths() reuses the line widths from the beginning of the array until all classes have a width. If there is an Other class, it uses the first line width only once.
A null in the array indicates that the default line width for the layer is used.
lw_array = {1.0, 2.0, 3.0, 4.0, 5.0}
SetThemeLineWidths("Traffic", lw_array)
Error Type |
Meaning |
NotFound |
No theme exists with the specified name |
Function |
Summary |
Gets the list of line widths that are used to draw a theme |
|
Sets the line colors used to draw a theme |
|
Sets the line styles used to draw a theme |
|
Sets the line width used to draw line features |
©2025 Caliper Corporation | www.caliper.com |