That only works for RTF and HTML. For PDF you'll have to make some calculation with Table. It's possible to do it directly with PdfPTable.
Best Regards, Paulo Soares ----- Original Message ----- From: "Werewolf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 13:55 Subject: [iText-questions] Problems with setting Cell width > Hello! > > How can I set width of cell in a table? > There is a method Cell.setWidth(String). So, what should contain > argumebt of this function? > For example, I want to set width = 200px. > I tried the following variants: > > cell.setWidth("200px"); > cell.setWidth("200"); > > so, how to solve this problem? > > Thank you. > > Maksim. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions