Επεξεργασία

Κοινή χρήση μέσω


RichTextBoxLanguageOptions Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class RichTextBoxLanguageOptions
[System.Flags]
public enum RichTextBoxLanguageOptions
[<System.Flags>]
type RichTextBoxLanguageOptions = 
Public Enum RichTextBoxLanguageOptions
Inheritance
RichTextBoxLanguageOptions
Attributes

Fields

Name Value Description
AutoKeyboard 1

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.

AutoFont 2

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

ImeCancelComplete 4

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.

ImeAlwaysSendNotify 8

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.

AutoFontSizeAdjust 16

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.

UIFonts 32

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

DualFont 128

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.

Applies to