Results 1 to 2 of 2

Thread: Get PDF Zoom Value

  1. #1

    Thread Starter
    Frenzied Member toecutter's Avatar
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Posts
    1,160

    Get PDF Zoom Value

    I currently use this to open a PDF file in a webbrowser
    vb Code:
    1. WebBrowser1.Navigate(ofd.FileName & "#toolbar=1")

    How can i grab the "zoom value" and place in a variable once the above has run?


    I know how to set the zoom value but dont know were to start to actually put the value in a variable..
    vb Code:
    1. WebBrowser1.Navigate(ofd.FileName & "#toolbar=1&zoom=100")


    thx
    toe

  2. #2
    Hyperactive Member
    Join Date
    Oct 2010
    Location
    Indiana
    Posts
    457

    Re: Get PDF Zoom Value

    This probably isn't what you want to hear, but since your screen shot shows that you are opening a file in Adobe Reader, you may want to check out Adobe's Developer website:
    http://www.adobe.com/devnet/reader.html

    You can also work with the Adobe "Interapplication Communication", instead of opening it through a webbrowser. It will give you direct control over the program. Here's a brief guide, you should be able to find more info on Adobe's developer pages:
    http://www.adobe.com/content/dam/Ado...oper_guide.pdf
    Last edited by nO_OnE; Jan 27th, 2014 at 08:25 AM. Reason: Typo correction

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width