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). 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
