I want to find the X and Y coordinates of the portion of the page that is currently rendered in the webviewer viewport.
I have tried using " getExactViewportRegionRect()" and " getViewportRegionRect()" after enabling viewport rendering by calling the " enableViewportRenderMode()" function on the documentViewer instance.
Based on this forum post Get current page view/viewport as an image
It looks like viewport is dependent on the zoom. If the page is fully visible on the viewer, then viewport mode is not enabled/ becomes disabled