Marc Font <informatica <at> ausio.com> writes: > Document document = new Document(); > resp.setContentType("application/pdf"); > PdfWriter writer = PdfWriter.getInstance(document, resp.getOutputStream()); > document.open(); > > /* do something with the document */ > > document.newPage(); > > /* here is where I need the last page of a PDF */ > PdfReader reader = new PdfReader("myPDF.pdf"); > > int n = reader.getNumberOfPages(); > > PdfImportedPage page; > page = writer.getImportedPage(reader, n); > > /* and here is my problem: */ > writer.??????
Hi All, I still don't know how to add to a Document a PdfImportedPage. Can anyone help me, please? Cheers, Marc. ------------------------------------------------------------------------- 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/