inputMethod property

Gets a value that describes how text is entered.

 

Syntax

HRESULT value = object.get_inputMethod(unsigned long* p);

Property values

Type: unsigned long

DOM_INPUT_METHOD_UNKNOWN (0x00)

The text input method is unknown.

DOM_INPUT_METHOD_KEYBOARD (0x01)

Text is entered by using a keyboard.

DOM_INPUT_METHOD_PASTE (0x02)

Text is pasted from the Clipboard.

DOM_INPUT_METHOD_DROP (0x03)

Text is entered as part of a drag-and-drop operation.

DOM_INPUT_METHOD_IME (0x04)

Text is entered through an IME.

DOM_INPUT_METHOD_OPTION (0x05)

Text is selected from options in a form.

DOM_INPUT_METHOD_HANDWRITING (0x06)

Text is entered by using pen and tablet device.

DOM_INPUT_METHOD_VOICE (0x07)

Text is entered by voice recognition software.

DOM_INPUT_METHOD_MULTIMODAL (0x08)

Text is entered by multiple input methods in combination.

DOM_INPUT_METHOD_SCRIPT (0x09)

Text is entered by a script operation.

See also

IDOMTextEvent::data