Toggle between Tools using hotkeys

I want to toggle between two tools using hotkeys.
Eg: I want to toggle between selection feature and redaction feature using ctrl or command key.

Hello surya.bansal,

You can add handlers to hotkeys using the UI.hotkeys.on API here: Apryse WebViewer Namespace: Hotkeys

In the handlers, you can use the setToolMode() API to select a tool: Apryse WebViewer Class: DocumentViewer

Best Regards,

Carlo Mendoza
Web Developer
Apryse