ComPDFKit Web SDK
    Preparing search index...

    Function isToolDisabled

    • Tells whether a tool is disabled. Tools without a button return false.

      Parameters

      • toolName: string

        The tool name.

      Returns boolean

      true when the tool is disabled.

      const disabled = instance.UI.isToolDisabled(instance.Core.Tools.ToolNames.RECTANGLE);