Op 10/01/2013 4:16, Harsha Kaundinya schreef: > > I have one small doubt regarding this issue again. When i used to > generate this report, few reports used to get generated, but few > failed. Is there any reason why a report with 4 or more pages report > failed while a smaller report generated?
Maybe the image is added outside the visible area of the page. > > And why doesnt document.add(image) on onEndPage method throw an > exception ? > Because the add() method in PdfDocument doesn't know from where it's called. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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