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)

[FlagsAttribute]
public enum RichTextBoxLanguageOptions

Member nameDescription
AutoFont

Specifies that the control automatically changes fonts when the user explicitly changes to a different keyboard layout.

AutoFontSizeAdjust

Specifies 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.

AutoKeyboard

Specifies 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.

DualFont

Sets 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.

ImeAlwaysSendNotify

Specifies 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.

ImeCancelComplete

Specifies 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.

UIFonts

Specifies that user-interface default fonts be used. This option is turned off by default.

.NET Framework
Available since 2.0
Return to top
Show: