Get page # from web control (1 Viewer)

CedarTree

Registered User.
Local time
Yesterday, 21:03
Joined
Mar 2, 2018
Messages
404
Hi - I'm using a web-control to open up PDFs. The user can scroll up and down of course in the PDF, but I'd like to be able to determine the page number the person is on? I can GO TO a specific page, via URL. But what I want to do is grab the page # from the PDF depending on which page the user is looking at.

P.S. My company uses both Adobe and FoxIt readers... not sure if that matters honestly.

Any suggestions? Thanks!
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 18:03
Joined
Oct 29, 2018
Messages
21,467
Well, since you are using a browser control, I wonder if you could use JavaScript to do what you want. What are you planning to do with this information?
 

CedarTree

Registered User.
Local time
Yesterday, 21:03
Joined
Mar 2, 2018
Messages
404
As an example, let's say I have a 10 page document. I want users to flip through the PDF, and click a button that says "Erase this page". We would grab and store the page #(s) that need to be erased and then, on the back-end run a process that would split out the PDF and remove the pages we want to be excised.
 

CedarTree

Registered User.
Local time
Yesterday, 21:03
Joined
Mar 2, 2018
Messages
404
Any other suggestions here?
A bit more direction in terms of using JS to grab the page from a webcontrol would be MOST appreciated.
Thanks!
 

Users who are viewing this thread

Top Bottom