GetThemeIconColors()

Summary

Gets the list of icon colors that are used to draw a theme.

Syntax

icn_clrs = GetThemeIconColors(string theme_name)

Argument Contents
theme_name The name of a theme on the current layer

Returns

An array of colors, one for each class in the theme.

Notes

  • A null entry in the returned array indicates that the objects in the corresponding class are drawn with the icon color of the underlying layer.

  • If the theme contains an Other class, its color is the first element of the array.

Error Codes

Error Type Meaning
NotFound The specified theme does not exist on the current layer

See Also

Function Summary
SetThemeIconColors() Sets the icon colors used to draw a theme
GetThemeIcons() Gets the list of icons that are used to draw a theme