Get page # from web control

CedarTree

Registered User.
Local time
Today, 16:19
Joined
Mar 2, 2018
Messages
445
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!
 
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?
 
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.
 
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

Back
Top Bottom