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!