次の方法で共有


UIDLGLOGFONT.lfCharSet Field

Definition

Specifies the character set.

public: System::Byte lfCharSet;
public: byte lfCharSet;
byte lfCharSet;
[System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.TextManager.Interop.BYTE")]
public byte lfCharSet;
[<System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.TextManager.Interop.BYTE")>]
val mutable lfCharSet : byte
Public lfCharSet As Byte 

Field Value

Attributes

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++]

Applies to