# Annotations create programmatically without rotation

**URL:** <https://pdfjs.community/t/annotations-create-programmatically-without-rotation/774>\
**Category:** Technical Support\
**Created:** [May 19, 2021, 7:01pm UTC](https://pdfjs.community/t/annotations-create-programmatically-without-rotation/774 "2021-05-19T19:01:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [May 25, 2021, 3:24pm UTC](https://pdfjs.community/t/annotations-create-programmatically-without-rotation/774/3 "2021-05-25T15:24:17Z")

</div>

Hi Eric!

(Sorry for the wait on this, been a crazy week).

My answer [here](https://pdfjs.community/t/rotate-stampannotation/180) should help resolve your issue. Basically you just need to check the rotation of the page (you can use [this](https://pdfjs.express/api/CoreControls.DocumentViewer.html#getRotation__anchor) api) and set the annotation rotation accordingly.

Let me know if you have any other issues.

Thanks!  
Logan

---

_[View the full topic](https://pdfjs.community/t/annotations-create-programmatically-without-rotation/774)._
