Share via


FormBuildButtonControl.characterSet Method

Definition

Overloads

characterSet(Int32)
characterSet()

Gets or sets the character set of the font.

characterSet(Int32)

public:
 virtual int characterSet(int _value);
public virtual int characterSet (int _value);
abstract member characterSet : int -> int
override this.characterSet : int -> int
Public Overridable Function characterSet (_value As Integer) As Integer

Parameters

_value
Int32

Returns

Applies to

characterSet()

Gets or sets the character set of the font.

public:
 virtual int characterSet();
public virtual int characterSet ();
abstract member characterSet : unit -> int
override this.characterSet : unit -> int
Public Overridable Function characterSet () As Integer

Returns

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 Microsoft Windows.

Value. Description.
130 JOHAB_CHARSET

The values in the following table are for the Middle East language edition of Microsoft Windows.

Value. Description.
177 HEBREW_CHARSET
178 ARABIC_CHARSET

The value in the following table is for the Thai language edition of Microsoft 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 Microsoft Docs, https://docs.microsoft.com.

Applies to