I am trying to create a table that is not indented in a PDF document. The paragraph before the table comes out ok, but the table is indented a lot. I searched the mail archives and saw that Alex Radka ask a similar question back in June, but I did not see any responses. I am probably missing something very basic here, so maybe a new set of eyes will help...
Document document = null; document = new Document(PageSize.LETTER.rotate()); PdfWriter.getInstance(document,new FileOutputStream(fileName)); document.open(); Table searchTable = new Table(6); searchTable.setBorderWidth(0); searchTable.setBorderColor(new Color(255,255,255)); searchTable.setDefaultCellBorderWidth(0); searchTable.setDefaultCellBorderColor(new Color(255,255,255)); searchTable.setAutoFillEmptyCells(true); searchTable.setCellsFitPage(true); searchTable.setTableFitsPage(false); searchTable.setPadding(0); searchTable.setSpacing(0); // add some columns document.add(new Paragraph("Search Critera:", FontFactory.getFont(FontFactory.HELVETICA, 12, Font.BOLD))); document.add(searchTable); document.close(); Thanks! Toby ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions