Eric Summkeller wrote: > Paragraph p = new Paragraph("TestChapter"); > p.setAlignment(Element.ALIGN_CENTER); > document.add(p); > Chapter chapter = new Chapter(p, 1); > document.add(chapter);
I don't understand the above code. You create a Paragraph, and add it to the document. Then you create a Chapter, you leave it EMPTY (you don't add anything to the Chapter), but still add it to the document. What do you expect to happen??? 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 Buy the iText book: http://itext.ugent.be/itext-in-action/