Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Filling pdf makes it unable to after process it

More
9 years 4 months ago - 9 years 4 months ago #11425 by nermeen
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:
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();
Code:
p.FlatAnnots(); p.Close(); currentPage++;
Last edit: 9 years 4 months ago by nermeen.
More
9 years 3 months ago #11442 by fdelcaz
I added the line and it still show the same error
More
9 years 3 months ago #11443 by support
Which iTextC# are you using?
Is equivalent to the Java version we're adopting?

One test we might do is:
- you should open the PDF with your C# code
- save it without any modifcation
- send us: the original file, the modified by radaee, the saved by itext

Note: we will do deeper check using Adobe and PDF/Association's tools. If such tools will give positive result we can't guarantee to make fixes tight to iText behavior.
Time to create page: 0.359 seconds
Powered by Kunena Forum