I want store the custome signature and now i want to remove the signature need the signature delete function?

WebViewer Version:

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)

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

i have store a signature in localstorage and retrive it in to the pdf viewer now i want to remove the signature from pdfviewer and the localstorage aswell, i need the signature delete function so that i can easily remove from pdfviewer and the localstorage as well could you please suggest any method

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


To remove a custom signature from a PDF in WebViewer and also clear it from local storage, you can use the clearSignature API. This function will clear the signature from the signature field in the PDF. Additionally, you must manually remove the signature data from local storage.

Some things you can try:

  • Utilize the clearSignature API to remove the signature from the PDF viewer.

  • Access local storage in your browser and remove the stored signature data.

  • Ensure that your logic for removal is correctly triggered when you want to delete the signature.



Here are some resources that might help you:

  • Interacting with Signature Field - This guide provides information on how to interact with signature fields, including clearing a signature.

  • LocalStorage API - Learn how to manage data in local storage, including how to remove items.

  • WebViewer Demo - Use this demo to test and reproduce your issue with signature removal.



Hopefully, this helps you solve your problem while you wait for a human to get back to you.