It's all in tutorial and in the book. Paulo
----- Original Message ----- From: "FrenchUser" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, May 04, 2007 12:38 PM Subject: Re: [iText-questions] Header/Footer set/get size/position > > Can you give me an exemple because I don't know what is, and how to use > page > events, thanks you. > > > Paulo Soares wrote: >> >> You must use page events and PdfPTable. >> >> Paulo >> >>> -----Original Message----- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On >>> Behalf Of FrenchUser >>> Sent: Friday, May 04, 2007 9:33 AM >>> To: [email protected] >>> Subject: [iText-questions] Header/Footer set/get size/position >>> >>> >>> Hi, >>> >>> I Have a Table wich contain "y" rows and "x" columns, "x" and "y" are >>> unknow, I want to set a Table wich fit only one page, with >>> same rows height, >>> and same columns width. So I calculate the rows.height like that : >>> >>> TableHeight = document.size.height - document.margin.top - >>> document.margin.bottom >>> RowHeight = TableHeight / y >>> >>> this formula work well but when I set header and footer, it >>> doesn't because >>> I need to take care about header and footer height. So How >>> can I get the >>> header and footer REAL height ? >>> >>> PS : document.header.height doesn't give the real header >>> height, maybe I >>> miss some cotasion ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/
