This documentation is archived and is not being maintained.

RichTextBoxLanguageOptions Enumeration

Provides RichTextBox settings for Input Method Editor (IME) and Asian language support.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum RichTextBoxLanguageOptions

Member nameDescription
AutoFontSpecifies that the control automatically changes fonts when the user explicitly changes to a different keyboard layout.
AutoFontSizeAdjustSpecifies that font-bound font sizes are scaled from the insertion point size according to a script. For example, Asian fonts are slightly larger than Western fonts. This is the default.
AutoKeyboardSpecifies that the RichTextBox control automatically changes the keyboard layout when the user explicitly changes to a different font, or when the user explicitly changes the insertion point to a new location in the text.
DualFontSets the control to dual-font mode. Used for Asian language text. The RichTextBox control uses an English font for ASCII text and an Asian font for Asian text.
ImeAlwaysSendNotifySpecifies how the client is notified during IME composition. A setting of 0 specifies that no EN_CHANGE or EN_SELCHANGE events occur during an undetermined state. Notification is sent when the final string comes in. This is the default. A setting of 1 specifies that EN_CHANGE and EN_SELCHANGE events occur during an undetermined state.
ImeCancelCompleteSpecifies how the control uses the composition string of an Input Method Editor (IME) if the user cancels it. If this flag is set, the control discards the composition string. If this flag is not set, the control uses the composition string as the result string.
UIFontsSpecifies that user-interface default fonts be used. This option is turned off by default.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0