Hi everyone,

I'm currently struggling to generate pdf files that need to be handled 
by a pdf viewer that has a lot of problems with rotated pages.

So what I'm trying to achieve is the following:

When I receive a pdf, I need to check if it currently rotated. If so, I 
need to set the rotation to 0 and generate a new pdf . This works, but 
obviously has the side effect of the generated pdf not being in the 
intended orientation (e.g. a portrait pdf would become a landscape pdf 
and vice versa).
So I'm trying to figure out how to rotate all the content of the pdf 
that I generate, without using the rotation.

In short, I'm trying to generate a pdf that has rotation = 0 based on a 
pdf that has rotation = 90 or 270, and the generated pdf should be 
displayed exactly the same as the original.

I'm not even sure that this is at all possible, but any hints or tips 
are appreciated.

Thanks,

Kim.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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

Reply via email to