Won't Fix
Last Updated: 22 Feb 2024 12:56 by ADMIN
Tim
Created on: 27 Jul 2023 08:18
Category: PdfProcessing
Type: Bug Report
0
PdfProcessing: Signing a SignatureField on specific documents leads to not successfully validated signatures

When importing specific documents and signing a predefined SignatureField leads to not successfully validated signatures in Adobe, but successfully validated in other pdf viewers (eg. Telerik WPF PdfViewer, Foxit PDF Reader).

Solution:
When signing an existing document (after the import) we must be sure the AcroForm's ViewersShouldRecalculateWidgetAppearances property is set to false, otherwise, the exported and signed PDF document could not be shown as a signed. 

if (document.AcroForm.ViewersShouldRecalculateWidgetAppearances)
{
	document.AcroForm.ViewersShouldRecalculateWidgetAppearances = false;
}

0 comments