i struggled with this for long time, till figured it out, I don't know if that's by design or a bug
GdViewer.GetRectCoordinatesOnDocument when the document is a image will always return exact pixel even if zoomed, but when the document is a pdf there is 2 strange things that happen
1. the values are effected by zoom and need to divided the returned value in zoom.
2. the value represent 96 points per inch, while the default pdf setting and measurements is 72 point per inch in all other functions.
so need to do a lot of conversions to get to the real number, and this is not documented anywhere.
i am using version 14, in VFP.
I reported the coordinates issue, I'll write you back when it will be corrected! Thanks for the feedback.
For the second issue, could you send me the document you're using to have this behavior to make some tests on my side, please?
Who is online
Users browsing this forum: No registered users and 1 guest