On Tue, 04 Jun 2013 17:31:45 +0200, _ <k...@dataverse.gr> wrote:

Any ideas on why the output file is small and corrupt?

Why is pdfStamper.Close() commented out, and why is the stamper closed before the reader?

Without pdfStamper.Close() several objects won't be written to the output.
Closing the reader before closing the stamper probably closes access to some necessary objects.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to