The page that you have offered not explain the elements of the 
addTemplate(), I know the last two elements are X, and Y, and first 
element is the template/page, but what are the between.  my application is 
pdf, and it's not a image.
Ping W. Zhang 
North Pointe Insurance Group 
Phone (248) 358-1171 x3279 
Email [EMAIL PROTECTED]



From:
1T3XT info <[EMAIL PROTECTED]>
To:
Post all your questions about iText here 
<itext-questions@lists.sourceforge.net>
Date:
05/23/2008 10:38 AM
Subject:
Re: [iText-questions] some pages are not displaying right



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


-------------------------------------------------------------------------
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