Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Guest
Feb 15, 2017 Feb 15, 2017

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?

TOPICS
Acrobat SDK and JavaScript , Windows
302
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 15, 2017 Feb 15, 2017

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 15, 2017 Feb 15, 2017
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines