ComPDFKit Web SDK
    Preparing search index...

    Function updateTool

    • Updates a tool button's buttonName / tooltip / buttonGroup / buttonImage.

      Parameters

      • toolName: string

        The tool name.

      • Optionalproperties: {
            buttonGroup?: string;
            buttonImage?: string;
            buttonName?: string;
            tooltip?: string;
        }

        The properties to change.

        • OptionalbuttonGroup?: string

          Tool group of the button. Stored only; currently has no effect.

        • OptionalbuttonImage?: string

          Icon used by tool buttons of this tool that have no icon of their own.

        • OptionalbuttonName?: string

          dataElement of the tool's button; disabling the tool disables this element.

        • Optionaltooltip?: string

          Title (or translation key) used by tool buttons of this tool that have no title of their own.

      Returns void