Color constants

<< Click to Display Table of Contents >>

Color constants

There are several properties in TextMaker and PlanMaker that let you retrieve or set colors. These are available in two variations: once for working with BGR colors ("blue-green-red") and once with index colors – with the latter, TextMaker's default colors are simply enumerated with consecutive numbers.

For example, Selection.Font.Color sets the color of the currently selected text in TextMaker to the BGR color value that you pass as an argument. The method Selection.Font.ColorIndex, in contrast, expects an index color.

On the next pages you fill find a list of all pre-defined color constants that can be used in such statements. It is split into the following sections:

Color constants for BGR colors

Color constants for index colors