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.
Thanks,
Ping
From:
1T3XT info <[EMAIL PROTECTED]>
To:
Post all your questions about iText here
<itext-questions@lists.sourceforge.net>
Date:
05/23/2008 03:09 AM
Subject:
Re: [iText-questions] some pages are not displaying right
Ping Zhang wrote:
>
> Hi everyone,
>
> Please help! I have a application using iText to display/fill data on
> the exisiting multiple PDF forms (one form at a time) , all forms has
> two pages, with my code as the following, some application displaying
> form right, some application first page displaying right, but second
> page display in upside down view. Is anything to do with the
> cb.addTemplate?
Consider a rotated A4 page.
There are two ways to define such a page:
1) width = 595; height = 842 with rotation = 90
2) width = 842; height = 595 with rotation = 0
If you IMPORT such a page, the PdfImported page in the first case
will have the size 595 x 842 and you will have to ask the page for
its rotation if you want to have it displayed as a 842x595 page.
In the second case, the PdfImported page will have the size 842x595
and it will probably be displayed the way you expected.
I have no idea if this answers you're question. I've done quite
some guessing work here. I guess that you have a page with page
rotation 90 somewhere. If not, please clarify and explain what
your question is about.
--
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