FormDateControl.characterSet Method
Gets or sets the character set of the font.
Syntax
public int characterSet([int value])
Run On
Client
Parameters
- value
Type: int
Return Value
Type: int
An integer value that indicates the character set of the font.
Remarks
The values for the integer that is returned indicate the character set according to the following table:
Value. |
Description. |
---|---|
0 |
ANSI_CHARSET |
1 |
DEFAULT_CHARSET |
2 |
SYMBOL_CHARSET |
77 |
MAC_CHARSET |
128 |
SHIFTJIS_CHARSET |
129 |
HANGUL_CHARSET |
134 |
GB2312_CHARSET |
136 |
CHINESEBIG5_CHARSET |
161 |
GREEK_CHARSET |
162 |
TURKISH_CHARSET |
163 |
VIETNAMESE_CHARSET |
186 |
BALTIC_CHARSET |
204 |
RUSSIAN_CHARSET |
238 |
EASTEUROPE_CHARSET |
255 |
OEM_CHARSET |
The value in the following table is for the Korean language edition of MicrosoftWindows.
Value. |
Description. |
---|---|
130 |
JOHAB_CHARSET |
The values in the following table are for the Middle East language edition of Windows.
Value. |
Description. |
---|---|
177 |
HEBREW_CHARSET |
178 |
ARABIC_CHARSET |
The value in the following table is for the Thai language edition of Windows.
Value. |
Description. |
---|---|
222 |
THAI_CHARSET |
The default character set is set to a value based on the current system locale. For example, when the system locale is English (United States), it is set as ANSI_CHARSET. For more information, see the LOGFONT structure on the MSDN website, https://go.microsoft.com/fwlink/?LinkID=85972.