RichTextBoxLanguageOptions Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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

public enum RichTextBoxLanguageOptions
/** @attribute FlagsAttribute() */ 
public enum RichTextBoxLanguageOptions
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 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions