Neither, really. All the coordinates stay the same, but it appears in a different location.
I recommend against using rotated pages unless you have no choice (someone else's PDF, you're just manipulating it). Here's a little experiment for you: Lets say we've got a page that, when unrotated, has a field on it from 10,10 to 30,20. The page is 50 x 100. Realistic numbers aren't important here, just their relation to one another. When rotated 90 degrees, the origin, 0,0, is now in the upper left corner, +X is down, and +Y is right. What are the apparent coordinates for the rotated field if the origin was still 0,0? If you can answer that question, you can figure out the other rotations (180 and 270). If you can't, you're probably not trying very hard. Drawing it out on some graph paper can help. Simply swapping numbers around won't work. --Mark Storer Senior Software Engineer Cardiff.com #include <disclaimer> typedef std::Disclaimer<Cardiff> DisCard; > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Christoph Engelhardt > Sent: Wednesday, October 25, 2006 5:50 AM > To: Post all your questions about iText here > Subject: [iText-questions] How to interpret Rectangles on > rotated pages > > > Hi mailing list. > > Could you give me a on how I have to interpret the > coordinates of a Form element, if the page is turned by 90 degrees? > > e.g. if i have an array that was ordered in the following way: > > [lower-left-x lower-left-y top-right-x top-right-y] > > does it stay the some? or does it become: > > [top-left-x top-left-y lower-right-x lower-right-y] > > > Thanks for any help > > Greetings Christoph > > Christoph Engelhardt > Softwareentwicklung > > Administration Intelligence AG > Winterhäuser Str. 106a > D-97084 Würzburg > Tel.: 0931 / 88 06 170 > Fax.: 0931 / 88 06 140 > E-Mail: [EMAIL PROTECTED] > Internet: www.ai-ag.de > > Besuchen Sie uns doch bei einem unserer nächsten Seminare und > Messen. Nähere > Informationen finden Sie stets aktuell unter > http://www.ai-ag.de/events/events.html > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
