9 Replies Latest reply on Dec 3, 2011 12:18 AM by maxwyss

    Problem with page coordinates

    MrMojo01 Level 1

      I'm trying to define the quads of the "Media" box of my page using the "getPageBox("Media",pageNum)" method. It returns (0,792,612,0), but when I use the addAnnot function to place an annotation at (0,0) the box is not created on the lower left. To see what was my lower left coordinates I did multiple attemps using a custom coord for addAnnot and it turns out my lower left coordinates is (-108,-89) but I don't know how to recuperate that offset and use it dynamically. The getPageRotation(pageNum) returns "0" for that specific page.

       

      Thanks a lot guys