You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I would like to know how to capture the current page's width in page change event?
For some page will be very big size of paper, I need to detect it.
Thank you very much!
The text was updated successfully, but these errors were encountered:
I figured out. In 'page change' event:
var pageview=PDFViewerApplication.pdfviewer.getPageView(evt.pageNumber-1).pdfPage.getViewport(1);
var pagewidth = pageview.width;
Hi everyone, I would like to know how to capture the current page's width in page change event?
For some page will be very big size of paper, I need to detect it.
Thank you very much!
The text was updated successfully, but these errors were encountered: