Set the signature to read-only once it has been created.

Hi,

I have a PDF document where I create a Signature field so that users can sign the document.

The user views the document, clicks on the field and creates the signature. So far so good. The problem is that if the user clicks on the signature just created, the annotation bar appears and then he can move it or create new annotations.

Is it possible to make that once created the signature the user cannot modify it and when he clicks on the signature the annotation bar doesn't appear?

I have tried to configure these variables that I have seen in another post of the forum but it does not work.

pdfViewer.AnnotationSettings.IsLock = true;
pdfViewer.freeTextSettings.isLock = true;

Thank you very much!


2 Replies 1 reply marked as answer

PA Pere Argelich Romà September 22, 2022 02:06 PM UTC

Solved! 

I set the property like this and it works!

pdfviewer = new ej.pdfviewer.PdfViewer({
            serviceUrl: 'https://xxxxxx.com:6001/api/pdfviewer',
            documentPath: fileContent,
            annotationSettings: { isLock: true }
        });

Marked as answer

SK Sinthiya Kalimuthu Syncfusion Team September 23, 2022 06:06 AM UTC

Hi Pere,


Thanks for the update. Kindly revert to us if you have further queries.


Regards,

Sinthiya K


Loader.
Up arrow icon