# Get coordinates of left bottom corner of an annotation

**URL:** <https://pdfjs.community/t/get-coordinates-of-left-bottom-corner-of-an-annotation/2570>\
**Category:** Technical Support\
**Created:** [May 11, 2023, 4:01am UTC](https://pdfjs.community/t/get-coordinates-of-left-bottom-corner-of-an-annotation/2570 "2023-05-11T04:01:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakshan](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lakshan](https://pdfjs.community/u/lakshan)\
**Post date:** [May 11, 2023, 4:01am UTC](https://pdfjs.community/t/get-coordinates-of-left-bottom-corner-of-an-annotation/2570/1 "2023-05-11T04:01:27Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [May 11, 2023, 4:32pm UTC](https://pdfjs.community/t/get-coordinates-of-left-bottom-corner-of-an-annotation/2570/3 "2023-05-11T16:32:28Z")

</div>

Hi there,

Thank you for reaching out to pdf.js express,

We have a guide on getting PDF coordinates and page coordinates here:

> **[PDF.js Express Viewer Coordinates | Documentation](https://pdfjs.express/documentation/viewer/coordinates.8#convert-between-mouse-locations-and-window-coordinates)**

Best Regards,  
Kevin Kim
