Hi, I need to do a 90 degrees counterclockwise direction rotation at the content of my pdf. The code below insert the content of my pdf with a 90 degrees clockwise direction rotation.
document.setPageSize(PageSize.LETTER.rotate()); document.newPage(); PdfImportedPage pip = writer.getImportedPage(pdfReader, 2); PdfContentByte pcb = writer.getDirectContent(); pcb.addTemplate( pip, 0, -1f, 1f, 0, 0, PageSize.LETTER.height()-187 );
How can I do this ? R�mi
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
