UIDLGLOGFONT::lfCharSet Field

 

Specifies the character set.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public:
[ComAliasNameAttribute("Microsoft.VisualStudio.TextManager.Interop.BYTE")]
unsigned char lfCharSet

Field Value

Type: System::Byte

The following values are predefined:

  • ANSI_CHARSET BALTIC_CHARSET

  • CHINESEBIG5_CHARSET

  • DEFAULT_CHARSET

  • EASTEUROPE_CHARSET

  • GB2312_CHARSET

  • GREEK_CHARSET

  • HANGUL_CHARSET

  • MAC_CHARSET

  • OEM_CHARSET

  • RUSSIAN_CHARSET

  • SHIFTJIS_CHARSET

  • SYMBOL_CHARSET

  • TURKISH_CHARSET

Fonts with other character sets may exist in the operating system. If an application uses a font with an unknown character set, it should not attempt to translate or interpret strings that are rendered with that font. This parameter is important in the font mapping process. To ensure consistent results, specify a specific character set. If you specify a typeface name in the lfFaceName member, make sure that the lfCharSet value matches the character set of the typeface specified in lfFaceName.

From uilocale.idl.

[C++]

Return to top
Show: