Hi,
We've tested your issue, and we couldn't reproduce it with the
demo latest version and
iText java version 5.5.9...
We cannot test it using iTextSharp
We have used your
fillPdf method, and the modified pdf can be opened and modified correctly using the following iText code:
PdfReader mPdfReader = new PdfReader(pdfPath);
PdfStamper stamper = new PdfStamper(mPdfReader, new FileOutputStream("Test_filled.pdf"), '0', true);
stamper.addSignature("Signature", 1, 100, 100, 300, 300);
stamper.close();
I invite you to retry with our latest demo
Note: you are missing a
p.Close() after p.FlatAnnots();
p.FlatAnnots();
p.Close();
currentPage++;