Win32Prn() > Font methods |
Queries or changes the character set for text printing.
:charSet( [<nNewCharSet>] ) --> nOldCharSet
Constants for character sets
Constant | Value |
---|---|
ANSI_CHARSET | 0 |
DEFAULT_CHARSET *) | 1 |
SYMBOL_CHARSET | 2 |
SHIFTJIS_CHARSET | 128 |
HANGEUL_CHARSET | 129 |
HANGUL_CHARSET | 129 |
GB2312_CHARSET | 134 |
CHINESEBIG5_CHARSET | 136 |
OEM_CHARSET | 255 |
JOHAB_CHARSET | 130 |
HEBREW_CHARSET | 177 |
ARABIC_CHARSET | 178 |
GREEK_CHARSET | 161 |
TURKISH_CHARSET | 162 |
VIETNAMESE_CHARSET | 163 |
THAI_CHARSET | 222 |
EASTEUROPE_CHARSET | 238 |
RUSSIAN_CHARSET | 204 |
*) default |
Method :chrSet() returns the currently defined character set for text as a numeric value. When <nCharSet> is specified, the new character set is set during printing.
http://www.xHarbour.com