Ping Zhang wrote:
> 
> That is the second case, the page with the rotation of 180 degree, but 
> the page display as upside down, the questions is how do I make it turn 
> to  -180 degree to make it rotation 180 degree, and it is not upside down.

If you are too lazy or not schooled enough to do the math,
why don't you wrap the PdfImportedPage inside an Image
and rotate the image?

Image img = Image.getInstance(page);
img.setRotationDegrees(180);

Then add the image to the canvas.

THIS IS ALSO EXPLAINED IN THE BOOK! Instead of being rude saying
"this not help at all!", why don't you read the documentation?
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to