Page rotations events

WebViewer Version:

Please give a brief summary of your issue:

documentViewer.getPageRotations() returns empty object at all times.

Please describe your issue and provide steps to reproduce it:

Although the document pages are rotated documentViewer.getPageRotations() returns {}.

Also, ‘rotationUpdated’ event is only triggered when clicked on “Page Orientation” buttons. The event is not triggered when clicked on rotate clockwise button from the “Left Panel”. I’m not sure if this is a bug or I should use ‘pagesUpdated’ event in this case?

Additionally , how can I now the rotation direction (clockwise or counterclockwise)?

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Have you checked this guide about page rotations?

You can use these APIs to get page rotation.

docViewer.getRotation(page1); // returns 1 i.e. PageRotation.E_90
docViewer.getCompleteRotation(page1); // returns 1 i.e. PageRotation.E_90