Re: [iText-questions] strange exception regarding table width

2003-07-28 Thread Paulo Soares
You must set setTotalWidth. Best Regards, Paulo Soares - Original Message - From: "Marc Lustig" <[EMAIL PROTECTED]> To: "iText list" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 11:48 Subject: [iText-questions] strange exception regarding table width

[iText-questions] strange exception regarding table width

2003-07-28 Thread Marc Lustig
Strangely, the method below always generates this Exception: ExceptionConverter: java.lang.RuntimeException: The table width must be greater than zero. I've explicitly set the width. What's wrong? public void onEndPage(PdfWriter writer, Document doc) { PdfPTable table = new PdfPTable(2);