TFont.Charset

Applies to TestComplete 15.47, last modified on January 20, 2023

Specifies the font character set.

Declaration

TFontObj.Charset
Read-Only Property Integer
TFontObj     A TFont object  

Description

Each font supports one or more character sets. The TFont.Charset property lets you get or set the character set used to display the text within the form component.

Note: To determine what character sets are supported by a font, refer to the information supplied by the font vendor.

Return Value

One of the following integer values:

Character Set Value
ANSI_CHARSET 0
DEFAULT_CHARSET 1
SYMBOL_CHARSET 2
MAC_CHARSET 77
SHIFTJIS_CHARSET 128
HANGEUL_CHARSET 129
JOHAB_CHARSET 130
GB2312_CHARSET 134
CHINESEBIG5_CHARSET 136
GREEK_CHARSET 161
TURKISH_CHARSET 162
VIETNAMESE_CHARSET 163
HEBREW_CHARSET 177
ARABIC_CHARSET 178
BALTIC_CHARSET 186
RUSSIAN_CHARSET 204
THAI_CHARSET 222
EASTEUROPE_CHARSET 238
OEM_CHARSET 255

See Also

TFont.Name

Highlight search results