On Thu, 27 Jun 2013 16:39:34 +0200, Taha Mohammed El Kahlaoui <taha1...@gmail.com> wrote:

Hi,
Thanks for u r quick response but I use the original page size to set Y :
final Rectangle psize = reader.getPageSizeWithRotation(1);
...
...
y = (psize.getHeight() - 3)

Is not correct ??

No, it should be:
y = psize.getBottom() + psize.getHeight() - 3;

When you calculate x, you need to add psize.getLeft();
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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