Hi,
How can I add a rotation value to a PdfImportedPage page? For example,
my rotation value is 90, how can I apply it to my new PdfImportedPage?
ByteArrayOutputStream baos = getImageBaos();
reader = new PdfReader(baos.toByteArray());
itextDoc.open();
PdfImportedPage page = pdfCopy.getImportedPage(reader, 1);
// I'm only getting the 1st page
pdfCopy.addPage(page);
baos.close();
itextDoc.close();
pdfCopy.close();
Thanks a lot!
M.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php