2 Replies Latest reply on Oct 5, 2012 8:07 AM by troupt

    Programatically zooming to a co-ordinate or adding an annotation

    troupt

      I am building a web application where a PDF is embedded in the browser. I need to be able to highlight particular areas of the PDF when the user clicks on links within the web page. I have already figured out how to communicate to Javascript in the PDF from Javascript in the browser. I just can't find an Acrobat Javascript API that will let me zoom in to a particular set of co-ordinates. Does one exist?

       

      Alternatively I could draw an annotation via the addAnnot method. However, this does not seem to work in the browser context even when I use the undocumented Collab.showAnnotToolsWhenNoCollab = true; property. I can't see any exception info as the console does not display.