Assigns a charset for the specified character block of the shape's text.
Applies to: Shape object
object.SetCharLanguage ( iFrom, iTo, Language ) |
The SetCharLanguage method syntax has these parts:
Part | Description |
object | Required. An expression that returns a Shape object. |
iFrom | Required. An expression that returns a Long value. The index of the first character in the character block. |
iTo | Required. An expression that returns a Long value. The index of the last character in the character block. |
Language | Required. An expression that returns a Byte value. The charset. |
Note, that if the character block collection of the shape doesn't include the character block within the iFrom to iTo range, the SetCharLanguage method adds a new character block and sets the specified charset to it.
Below is the list of possible values of the Language parameter:
Constant | Value | Description |
ANSI_CHARSET | 0 | ANSI charset. |
DEFAULT_CHARSET | 1 | Default charset. |
SYMBOL_CHARSET | 2 | Symbol charset. |
MAC_CHARSET | 77 | Macintosh charset. |
SHIFTJIS_CHARSET | 128 | charset. |
HANGEUL_CHARSET | 129 | Hungarian charset. |
HANGUL_CHARSET | 129 | Hungarian charset. |
JOHAB_CHARSET | 130 | charset. |
GB2312_CHARSET | 134 | charset. |
CHINESEBIG5_CHARSET | 136 | Chinese charset. |
GREEK_CHARSET | 161 | Greek charset. |
TURKISH_CHARSET | 162 | Turkish charset. |
VIETNAMESE_CHARSET | 163 | Vietnamese charset. |
HEBREW_CHARSET | 177 | Hebrew charset. |
ARABIC_CHARSET | 178 | Arabic charset. |
BALTIC_CHARSET | 186 | Baltic charset. |
RUSSIAN_CHARSET | 204 | Russian (cyrillic) charset. |
THAI_CHARSET | 222 | Thai charset. |
EASTEUROPE_CHARSET | 238 | East Europe charset. |
OEM_CHARSET | 255 | OEM charset. |