This property sets the character set for the fonts.
[Visual
Basic] imagekitcontrolname.PrintDraw.CharSet
[ = Integer ]
[Visual
C++] imagekitcontrolname.GetPrintDraw().SetCharSet(short
Val)
Property Value
The CharSet property values range from -1 to 255.
Values other than -1 correspond to the same character set values used by Windows.
Value | Explanation |
---|---|
-1 | -1: ANSI or JIS character sets [This value is for backwards compatibility with the ImageKit5] |
0 | ANSI character set (ANSI_CHARSET) |
1 | Character set is selected using the FontName and FontSize (DEFAULT_CHARSET) |
2 | Symbol character set (SYMBOL_CHARSET) |
128 | Japanese shift JIS character set (SHIFTJIS_CHARSET) |
255 | Operating system character set (OEM_CHARSET) |
( ) The explanation contained in the parentheses has the same meaning as the constants used by WindowsAPI.
Explanation
The CharSet property sets the character set for the fonts. This property is enabled when the DrawText, GetTextExtent, or TextOut method is executed.
Setting this value
This value can be set at runtime.
Retrieving this value
This value cannot be retrieved.