getKeyCode Method

Summary

Returns a virtual KeyCode from a KeyboardEvent.

Syntax

TypeScript
    static getKeyCode(e: KeyboardEvent): KeyCode; 

Parameters

e

The KeyboardEvent to process.

Return Value

The virtual KeyCode.

Remarks

This would used to retrieve the keycode used for further actions using it.

Requirements

Target Platforms

See Also

StandardKeyboardEvent Object

StandardKeyboardEvent Members

Leadtools.Document.Editor Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Editor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.