Op 9/01/2011 15:03, Eddy schreef: > Hi all, > > I'm working with a PdfPTable and I'm trying to set it to a certain width. I > know about table.setTotalWidth(width) and have worked with it fine > when writing the table to a document using the writeSelectedRows method. > > But now I'm trying to do the same with document.add(table) and it seems like > the setTotalWidth doesn't do anything. Any ideas why is this happening? This is explained in the documentation, so I could answer saying please read section 4.1.2 of the book, but this is actually a good question for an FAQ, so your question has been added (and answered) on the new iText forum: http://support.itextpdf.com/node/13
------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php