EN
Tento obsah není k dispozici ve vašem jazyce, ale můžete využít tuto verzi v anglickém jazyce.

TextStyle Table

The TextStyle table lists different font styles used in controls having text.

The TextStyle table has the following columns.

ColumnTypeKeyNullable
TextStyle Identifier YN
FaceName Text NN
Size Integer NN
Color DoubleInteger NY
StyleBits Integer NY

 

Columns

TextStyle

This column is the name of the font style. This name can be embedded in the text string to indicate a style change. Note that the font style name used in this field must not end with the characters: _UL. See Adding Controls and Text.

FaceName

A string indicating the name of the font. The string must be no more than 31 characters long.

Size

The font size measured in points. This must be a non-negative number.

Color

This column specifies the text color displayed by a Text Control. All other types of controls always use the default text color. The value put in this column should be computed using the following formula: 65536 * blue + 256 * green + red, where red, green, and blue are each in the range of 0-255. The value must not exceed 16777215, which is the value for white. The value is 0 for black, 255 for red, 65280 for green, 16711680 for blue and 8421504 for grey. Leaving the field empty specifies the default color.

Do not place transparent Text controls on top of colored bitmaps. The text may not be visible if the user changes the display color scheme. For example, text may become invisible if the user sets the high contrast parameter for accessibility.

StyleBits

A combination of bits indicating the formatting for the text.

The individual style bits have the following values.

ConstantHexadecimalDecimalStyle
msidbTextStyleStyleBitsBold0x0011Bold
msidbTextStyleStyleBitsItalic0x0022Italic
msidbTextStyleStyleBitsUnderline0x0044Underline
msidbTextStyleStyleBitsStrike0x0088Strike out

 

Validation

ICE03
ICE06
ICE31
ICE45

 

 

Obsah vytvořený komunitou

Přidat
Zobrazit:
© 2014 Microsoft