Hi, following instruction has no effect: [CODE]
pdfCopy.getDirectContent().addTemplate( pdfCopy.getImportedPage(pdfReader, 1), tagetAffineTransform ); [/CODE] is this a bug or do I miss something? My usecase: i want to merge some pages from source PDF into a new Document, while some of them is a simple 1:1 copy (which are handled by PdfCopy.addPage(..) method and some of them are going to be weaved rotated and scaled, so I use the PdfContentByte.addTemplate() to achieve it (like in code above). The issue is that with PdfWriter (instead of PdfCopy) the addTemplate() works fine, but not when applied on PdfCopy object, and while working with PdfWriter I cannot simply copy a page as-is from source PDF, therefore I wanted to handle both cases with PdfCopy instance. thank you. Eugen Plischke
------------------------------------------------------------------------------
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/