Hello,
we want so view digitally signed pdf files.
The signature annotation is visible in almost all applications and browsers, for example in chrome.
Opening the pdf in Syncfusion PDFViewer is not showing the annotation.
Is there a solution for this problem?
I have attached a screenshot (comparison chrome and pdfviewer) and the signed example pdf.
Hi Marc,
On analyzed further, we found the issue “Added digital signature is not visible in WPF PDF viewer” is due to, that the support to display the digital signature in PdfViewer is not yet provided. We already have logged a feature request for Digital Signature support in PDF Viewer. After implementing this feature, we can display the digital signature with validation mark and able to print the same. At present, we do not have any immediate plans for this. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented.
You can track the status of this feature request here:
https://www.syncfusion.com/feedback/2924/add-digital-signature-to-the-pdf-document
However, your requirement is to only display the digital
signature, we can achieve this by loading the PDF with signature field after
flattening the signature field. The Flatten property will remove the existing signature field and replace
it with graphical objects that would resemble the signature field and cannot be
edited. So, when we set the Flatten as true
the fields are updated and the value is displayed.
|
//Load the document using PdfLoadedDocument object PdfLoadedDocument loadedDocument = new PdfLoadedDocument("../../PDFExampleSigned.pdf"); //Flatten the Signature form fields if(loadedDocument.Form != null && loadedDocument.Form.Fields != null) { foreach (PdfLoadedSignatureField pdfLoadedSignatureField in loadedDocument.Form.Fields) { pdfLoadedSignatureField.Flatten = true; } } //load the PdfLoadedDocument object into PdfViewerControl pdfViewerControl1.Load(loadedDocument);
|
Please refer to the link below to know more about flattening
the form fields,
Please let us know if the above details are helpful to achieve
your requirement or if you need any further assistance with this.
Regards,
Raja Vignesh.
Thanks that helped me