Javascript in Acrobat XI Pro, Document Coordinates of Computer monitor display

Copy link to clipboard
Copied
With javascript in Acrobat XI Pro, is there a way to determine the document page coordinates of the center of the computer monitor when zoomed in?
Copy link to clipboard
Copied
Yes - Look at the document properties viewState, pageWindowRect, and innerDocWindowRect in the JavaScript for Acrobat Documentation. You can calculate it knowing those values. What exactly are you trying to accomplish?

Copy link to clipboard
Copied
I am reviewing large drawings and I need to mark areas with semi transparent boxes where there are areas of concern.
I can create the boxes without any problems but not within the field of view of the monitor, so I want to create the boxes in the middle of the viewing area instead of chasing after the boxes in a static location (laziness on my part).
Thanks for the hints, I will try them out.
tom

