Export (0) Print
Expand All
Expand Minimize

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Community Additions

© 2015 Microsoft