Rüdiger Kaatz wrote: > is this what you are looking for? > > PdfPTable mainTable = new PdfPTable(2); > > PdfPCell cell1 = new PdfPCell("some borderless cell"); > cell1.setBorder(Rectangle.NO_BORDER); > > PdfPCell cell2 = new PdfPCell("another borderless cell"); > cell2.setBorder(Rectangle.NO_BORDER); > > mainTable.addCell(cell1); > mainTable.addCell(cell2);
With getDefaultCell().setBorder(), you don't need to do it for every cell seperately. This can save you some lines. br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions