TextStyle Table

[This is preliminary documentation and subject to change.]

The TextStyle table lists the different text styles used in the text controls.

The TextStyle table has the following columns.

Column Type Key Nullable
TextStyle Identifier Y N
FaceName Text N
Size Integer N
Color DoubleInteger Y
StyleBits Integer Y

Columns

TextStyle
Name of the style. This name is embedded in the texts to indicate a style change.
FaceName
A string indicating the name of the font used.

The string must be no more than 31 characters long.

Size
The size of the font used. This is in the installer units. An installer unit is equal to one-twelfth of the height of the system font.

Non-negative numbers only.

Color
A four-byte integer indicating the color of the string in the RGB format.

The color value is specified in RGB format.

Red, green, and blue each have a range of 0-255. Blank signifies the default color.

StyleBits
A combination of bits indicating the style of the string.

A combination of the following style bits.
Bit Style
0 Bold
1 Italic
2 Underline
3 Strike out