Is there any way to get the coordinates of left bottom corner of an annotation
i’m currently using this;
annotManager.addEventListener("annotationChanged", (e, action) => {
e.forEach(function (el) {
var { X, Y, Width, Height, PageNumber } = el;
var leftBottomX = X;
var leftBottomY = Y + Height;
}
}
But this is not correct when document has a document rotation
Is there a proper way to get the coordinates of left bottom corner of an annotation no matter what the document rotation is?