Поделиться через


UIDLGLOGFONT.lfCharSet Field

Specifies the character set.

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

Syntax

'Declaration
Public lfCharSet As Byte
public byte lfCharSet
public:
unsigned char lfCharSet
val mutable lfCharSet: byte
public var lfCharSet : byte

Remarks

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.

COM Signature

From uilocale.idl.

[C++]

.NET Framework Security

See Also

Reference

UIDLGLOGFONT Structure

Microsoft.VisualStudio.Shell.Interop Namespace