Skip to main content
Participant
December 15, 2021
Question

Method or Event for scrolling page in Adobe Embed API to move two PDFs simultaneously

  • December 15, 2021
  • 1 reply
  • 649 views

I am looking at ways through Adobe Embed API to scroll two PDFs side by side (in respective Div or Frame in a web page) such that on scrolling one PDF other one also scroll up or down to same page (if it exist in it). Is there any way in Adobe Embed API to capture page scroll event and invoke other PDF's page scroll event to move to specific page. 

    This topic has been closed for replies.

    1 reply

    Raymond Camden
    Community Manager
    Community Manager
    December 15, 2021

    Yep, you can listen for both page change and scroll events, and you can move a PDF to a location (page, X, Y). 

     

    Under the Viewer API docs (https://opensource.adobe.com/pdfembed-sdk-docs/howtos_ui.html#viewer-api), look for gotoLocation for second thing. 

     

    For noticing page/scroll, look in events: https://opensource.adobe.com/pdfembed-sdk-docs/howtodata.html#basic-events

     

    While not the exact same, I've got a blog post related to this: https://medium.com/adobetech/improving-the-reader-experience-with-adobe-embed-api-5079498411d9