Skip to main content
M.Hasanin
Inspiring
Dec 13, 2017 9:04 AM UTC
Answered

Scroll Zoom to left Bottom of Page

Hi,

I used to zoom with javascript with (Zoom) and (Zoomtype) functions, but can i Zoom and Scroll to the Left Bottom of the Page? can this be done via JavaScript ? if this can be done which function to start with ?, Thanks in Advance.

This topic is closed to new replies. Start a new post to keep the conversation going.
Thom Parker
Thom ParkerCorrect answer
Community Expert
Dec 14, 2017 12:49 AM UTC

Scripts are provided here for zooming and scroll all over the page here, in the simple navigation article:

THere is also an article on using veiw States. But its a bit of math

Scripts for Navigating to a specific document location

You have to calculate the amount of page showing, then subtract the the page height.

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often

2 replies

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
Dec 14, 2017 12:49 AM UTC

Scripts are provided here for zooming and scroll all over the page here, in the simple navigation article:

THere is also an article on using veiw States. But its a bit of math

Scripts for Navigating to a specific document location

You have to calculate the amount of page showing, then subtract the the page height.

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
Dec 13, 2017 10:04 AM UTC

Yes, but it's quite tricky. You would need to edit the properties of the viewState object.

Translate