Detect uploaded PDF rotation

Which product are you using?
PDF.js Express Plus

PDF.js Express Version
6.3.4

Detailed description of issue
We are following the method to bind the arrow keys in this other thread Enable annotations to be moved using arrow keys
However when we load a pdf that is rotated, we need to handle the rotation. Is there a way to detect what the rotation is in PDF.js Express Plus?

Thank you

Hi there,

Thank you for contacting pdf.js express forums,

You can use getRotation to get the value of current document:
https://pdfjs.express/api/Core.DocumentViewer.html#getRotation

Best regards,
Kevin Kim