WebViewer Automatically Rotates Widget Annotations Beyond completeRotation

WebViewer Version: v11

Hi Apryse Team,

I am encountering an issue with WebViewer where widget annotations are automatically rotating to a vertical orientation beyond the returned value from getCompleteRotation. Specifically, this occurs with text and signature widget annotations.

instance.Core.documentViewer.getCompleteRotation(1) // return 3

Actual result:


Expected result:

PDF file:
rotation-pdf.pdf (161.6 KB)

Set the annotation’s rotation won’t work with me.

annotationManager.addEventListener("annotationChanged", (annotations, action) => {
  if (action === "add") {
    annotations.forEach(function (annot) {
        // change the rotation of the widget
        annot.rotation = 90;
    });
  }
})

Could you help me find a solution to fix this? If you need any more information please let me know.
Thanks!

1 Like

Hello @dung.bui,

Thank you for posting on our forum,

After speaking to our Development team, they are aware of an issue which matches the one you are describing and it is currently on our backlog for our Product team to review.

We do not have a firm timeline at this moment when the issue will be worked on, but we will be sure to reach out if we have an update to provide.

Thank you for bringing this to our attention.

Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.

1 Like