EasyScriptKeyboardEventToChar Method |
This method will attempt to take a keyboard event from either KeyUp
or KeyDown and attempt to turn it into its representation in the
English - US keyboard layout. This should allow EasyScript devices
to work in mixed keyboard environments.
Namespace:
EasyScriptAPI
Assembly:
EasyScriptAPI (in EasyScriptAPI.dll) Version: 3.5.29.0 (3.5.29.0)
Syntax public static char? KeyboardEventToChar(
KeyEventArgs e
)
Public Shared Function KeyboardEventToChar (
e As KeyEventArgs
) As Char?
public:
static Nullable<wchar_t> KeyboardEventToChar(
KeyEventArgs^ e
)
static member KeyboardEventToChar :
e : KeyEventArgs -> Nullable<char>
Parameters
- e
- Type: System.Windows.FormsKeyEventArgs
Keyboard event to translate.
Return Value
Type:
NullableCharCharacter representing the key press if available, null otherwise.
See Also