Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Dec 15, 2021 Dec 15, 2021

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. 

515
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 15, 2021 Dec 15, 2021
LATEST

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

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources