Add a document.newpage() before close. Best Regards, Paulo Soares
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Ira Rodens > Sent: Friday, July 23, 2004 4:34 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Problem inserting images in PDF > > When I try to insert an image near the end of the document, > the image nevers > seems to show in the PDF. When I insert the same image in the > beginning of the > document there is never a problem. Could someone give me a > suggestion to solve > this problem? My code follows the following format, > > Chapter chapter = new Chapter(...); > chapter.add(paragraph); > chapter.add(paragraph); > . > . > . > chapter.add(paragraph); > chapter.add(image); > document.add(chapter) > document.close(); > > Thanks, > ira > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
