Do you have an issue with a specific file(s)?
Can you reproduce using one of our samples or online demos?
Are you using the WebViewer server?
Does the issue only happen on certain browsers?
Is your issue related to a front-end framework?
Is your issue related to annotations?
Please give a brief summary of your issue:
(Think of this as an email subject)
Where is the tool name list?
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
About the updateTool API argument: toolName
Where is the tooName list?
I followed the guidance at PDFTron WebViewer Class: WebViewerInstance and checked the next page.
PDFTron Systems Inc. | Documentation
PDFTron WebViewer Namespace: Tools
An error occurred when setting the listed name.
data-element name too.
Please provide a link to a minimal sample where the issue is reproducible:
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
The ToolNames list maps the property that you see to the actual tool name in the UI. So the way to use the API would be like this:
tooltip: 'Test Tool Tip',
The following code produces this result:
However, it seems you may be looking to update the toolGroupButton. In which case the correct API would be this one: updateElement
With usage like this:
title: 'Test Tool Tip',
Producing the following result:
Let me know if there are any issues.
PDFTron Systems, Inc.
Thank you for your reply.
Your explanation really helped.