fitsPage() takes Table or PdfPTable as a parameter but not an Image....

Thanks,
-Vasu

-----Original Message-----
From: Gunter Sammet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 5:31 PM
To: ''Itext-Questions (E-mail)'
Subject: RE: [iText-questions] Adding Chart before Table


There should be a fitsPage() method somewhere. Check the API.
HTH
Gunter


:-) -----Original Message-----
:-) From: [EMAIL PROTECTED]
:-) [mailto:[EMAIL PROTECTED]]On Behalf Of
:-) Yalavarthi, Vasu
:-) Sent: Thursday, January 24, 2002 6:19 PM
:-) To: 'Paulo Soares'; Yalavarthi, Vasu; 'Itext-Questions (E-mail)
:-) Subject: RE: [iText-questions] Adding Chart before Table
:-) 
:-) 
:-) 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

_______________________________________________
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

Reply via email to