Can I know the current position of the document page(like how much height is remaining in the current page)in terms of pixels.?
If I know how much height is remaining in the current page, I can decide whether to add Image first or the Table. Thanks, Vasu -----Original Message----- From: Paulo Soares [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 2:29 AM To: 'Yalavarthi, Vasu'; 'Itext-Questions (E-mail) Subject: RE: [iText-questions] Adding Chart before Table The image didn't fit and was put on hold for the next page. Meanwhile there was still space for the table and the table was inserted. This is by design. Best Regards, Paulo Soares > -----Original Message----- > From: Yalavarthi, Vasu [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 24, 2002 3:01 > To: 'Itext-Questions (E-mail) > Subject: [iText-questions] Adding Chart before Table > > Hi, > I'm creating a document with a page size of LETTER and landscape > orientation(rotate()). > I added a paragraph of about 10 lines and then an image(JPEG) of 600-w x > 450-h pixels and then a Table in the order. > > But when the PDF is generated, I see parahraph first, then the Table in > first page and Image in the Second page. > > Any idea why Image was added after the Table? > I debugged it with print statements, and CHART got added before TABLE > according to print statements... > > Is it because, the chart height can't be accomodated in page 1' remaining > height, it has been moved to page 2? > > Thanks, > Vasu > > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
