Skip to main content
Known Participant
Feb 10, 2017 2:19 PM UTC
Question

How to get PDF document view center coordinates

Hello,

I need to get the PDF document view center co-ordinates using Acrobat core API.

I developed a plugin where I need to place a dialog box in the center of PDF document.

How can I achieve this?

Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Bernd Alheit
Community Expert
Community Expert
Feb 10, 2017 3:15 PM UTC

Can you explain "center of a PDF document" ?

Translate
Known Participant
Feb 13, 2017 4:55 AM UTC

I mean in the center of the Acrobat window.

Translate
Legend
Feb 13, 2017 8:54 AM UTC

There is no API for centre so get the bottom left, width and height, and Calculate. 

Translate