Disables tools; without arguments, all annotation creation tools. When the current tool is disabled, the selection tool is activated. A single string is accepted too.
Optional
A tool name or an array of them.
const { ToolNames } = instance.Core.Tools;instance.UI.disableTools([ToolNames.FREEHAND, ToolNames.ERASER]); Copy
const { ToolNames } = instance.Core.Tools;instance.UI.disableTools([ToolNames.FREEHAND, ToolNames.ERASER]);
Disables tools; without arguments, all annotation creation tools. When the current tool is disabled, the selection tool is activated. A single string is accepted too.