[iText-questions] Add a newPage to a document with graphics

2007-10-08 Thread nlif
Hi, I'm new to iText and have a problem: I am rendering swing components and can't seem to start a new page. This is my code: Document document = new Document(pageSize); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("c:\\test.pdf")); document.open(); PdfContentByte cb

Re: [iText-questions] Add a newPage to a document with graphics

2007-10-08 Thread nlif
Paulo Soares wrote: > > It's Document.newPage(). Calling newPage() on an empty page has no > effect. Use writer.setPageEmpty(false). > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behal