----- Original Message ----- From: "Bruno" <[EMAIL PROTECTED]> To: "Jaladurgam, Ramana" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 19:43 Subject: RE: [iText-questions] Line height in a chunk
> Quoting "Jaladurgam, Ramana" <[EMAIL PROTECTED]>: > > > > > document.setLinesRequired(n); > > //Add the elements to the page. > > > > I mean with this statement is the page break should happen before the > > elements are added in case the page doesn't have sufficient (in this > case > > n) number of lines. > > Use ColumnText. > You can check if the Column fits before you add it (I think). Yes and even gets the number of lines that would fit. Best Regards, Paulo Soares > Bruno > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
