KUMAR PRASHANT wrote: > Dear Bruno, > i am sending my code in which i am trying to place a > pdfptable on existing pdf.this existing pdf has multiline text.i have to > place the table in between the text.with this code there is no compile > time error nor any runtime error.it <http://error.it> creates one pdf > "WriteSelecredRow".but it shows that its contents are of 0 bytes and > when i am trying to open it it shows error that file has been > corrupted.please help me.Thanks in advance. :-)
As I wrote in my book, I always make the same mistake: don't forget to close the stamper when you're done adding content, or nothing will be written to the OutputStream: stamper.close(); br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
