# Rotation of SignatureWidgetAnnotation not working

**URL:** <https://community.apryse.com/t/rotation-of-signaturewidgetannotation-not-working/11030>\
**Category:** WebViewer\
**Tags:** annotations, pdf\
**Created:** [January 15, 2025, 9:23am UTC](https://community.apryse.com/t/rotation-of-signaturewidgetannotation-not-working/11030 "2025-01-15T09:23:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdelrahman.halawa](https://community.apryse.com/letter_avatar_proxy/v4/letter/a/d9b06d/32.png) [@abdelrahman.halawa](https://community.apryse.com/u/abdelrahman.halawa)\
**Post date:** [January 15, 2025, 9:23am UTC](https://community.apryse.com/t/rotation-of-signaturewidgetannotation-not-working/11030/1 "2025-01-15T09:23:27Z")

</div>

WebViewer Version:  
8.11.0

I want to rotate the SignatureWidgetAnnotation regardless of the PDF page rotation.  
My situation, I have a PDF rotated 90 degrees right and I want to add SignatureWidgetAnnotation to the PDF with a different rotation degree.

I used this code to rotate the annotation, but it is not working!!

```auto
annot.Rotation = 180;

```

What is the problem?

---

<div class="post-metadata">

**Author:** ![jromanocarlsen](https://community.apryse.com/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@jromanocarlsen](https://community.apryse.com/u/jromanocarlsen)\
**Post date:** [January 15, 2025, 5:39pm UTC](https://community.apryse.com/t/rotation-of-signaturewidgetannotation-not-working/11030/2 "2025-01-15T17:39:27Z")

</div>

Hello @abdelrahman.halawa,

Thank you for posting on our forum,

If you have not already, please see this helpful forum post which rotates the signature widget, including the “Sign Here” tag:[​](https://community.apryse.com/t/how-to-rotate-the-sign-here-in-signaturewidgetannotation/8780/5)[https://community.apryse.com/t/how-to-rotate-the-sign-here-in-signaturewidgetannotation/8780/5](https://community.apryse.com/t/how-to-rotate-the-sign-here-in-signaturewidgetannotation/8780/5)

If the above doesn’t work, feel free to provide screenshots of the expected vs. actual behavior, the full code sample used, and let us know if you are able to reproduce the issue on one of our samples.

Let us know if this works for you!

Best Regards,  
Jacob Romano Carlsen  
Web Development Support Engineer  
[Apryse Software Inc.](https://apryse.com/)

---

<div class="post-metadata">

**Author:** ![abdelrahman.halawa](https://community.apryse.com/letter_avatar_proxy/v4/letter/a/d9b06d/32.png) [@abdelrahman.halawa](https://community.apryse.com/u/abdelrahman.halawa)\
**Post date:** [January 19, 2025, 12:29pm UTC](https://community.apryse.com/t/rotation-of-signaturewidgetannotation-not-working/11030/3 "2025-01-19T12:29:54Z")

</div>

Hello @jromanocarlsen ,  
Still not working. I tried to add the rotation code when creating the annotation but _not working_.  
Tried to add the rotation code inside “annotationChanged” event but not working also.

here some code example and pdf view:

```auto
  annotationManager.addEventListener("annotationChanged", (_annotations, action) => {
    if (action === "add") {
      _annotations[0].Rotation = 180;
}

```

 ![image](https://community.apryse.com/uploads/default/original/2X/5/5327cd639d3e4eb38fecb6b313f4bcde7bb3d3c9.png)

As you see the annotation always follow the rotation angle of the page.

---

<div class="post-metadata">

**Author:** ![jromanocarlsen](https://community.apryse.com/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@jromanocarlsen](https://community.apryse.com/u/jromanocarlsen)\
**Post date:** [January 20, 2025, 10:35pm UTC](https://community.apryse.com/t/rotation-of-signaturewidgetannotation-not-working/11030/4 "2025-01-20T22:35:05Z")

</div>

Hello @abdelrahman.halawa,

Thank you for the update and the code snippet.

From your code snippet, it looks like you are attempting to set **Rotation** (uppercase “R”) while the forum post sets **rotation** (lowercase “r”).

Testing using the lowercase “R” seemed to work:

 ![image](https://community.apryse.com/uploads/default/original/2X/5/59604d5ac8ce069ce1d980d5d8995dc3ee3b4675.png)

Can you try using rotation with a lowercase “r” and let us know if that works for you?

Best Regards,  
Jacob Romano Carlsen  
Web Development Support Engineer  
[Apryse Software Inc.](https://apryse.com/)
