Copy link to clipboard
Copied
From Embedded API, is there a way to get the page info, such as total page count, current page number?
Yep, look at the getPDFMetaData API, https://opensource.adobe.com/pdfembed-sdk-docs/howtos_ui.html#viewer-api.
Also getCurrentPage (bit lower on the page).
If you need an example let me know (bit busy hence me not just sharing one 🙂
Copy link to clipboard
Copied
Yep, look at the getPDFMetaData API, https://opensource.adobe.com/pdfembed-sdk-docs/howtos_ui.html#viewer-api.
Also getCurrentPage (bit lower on the page).
If you need an example let me know (bit busy hence me not just sharing one 🙂
Copy link to clipboard
Copied
Thank you! That is what I need.
Copy link to clipboard
Copied
This isn't the prettiest code, but this CodePen shows both: https://codepen.io/cfjedimaster/pen/NWvgPwy