# How to rotate pdf inside Pdf Viewer?

**URL:** <https://forum.inductiveautomation.com/t/how-to-rotate-pdf-inside-pdf-viewer/2198>\
**Category:** Ignition\
**Created:** [September 15, 2010, 11:24am UTC](https://forum.inductiveautomation.com/t/how-to-rotate-pdf-inside-pdf-viewer/2198 "2010-09-15T11:24:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [September 15, 2010, 11:24am UTC](https://forum.inductiveautomation.com/t/how-to-rotate-pdf-inside-pdf-viewer/2198/1 "2010-09-15T11:24:54Z")

</div>

I have quite wide pdf document which is rotating automatically inside PDF Viewer component.  
So is it possible give rotate commands on PDF viewer?  
In activeX compnent this works but I would like use PDF viewer for usable of other that MS clients.

Br  
Tommi Vahtera

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [September 17, 2010, 4:56pm UTC](https://forum.inductiveautomation.com/t/how-to-rotate-pdf-inside-pdf-viewer/2198/2 "2010-09-17T16:56:03Z")

</div>

Sorry, no, that PDF viewer is a no-frills viewer. You’ll have to rotate the PDF files themselves I guess. I’ll move this thread to the feature request forum - this should be something that we can add someday, but I can’t promise when.

---

<div class="post-metadata">

**Author:** ![Serhii](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Serhii](https://forum.inductiveautomation.com/u/Serhii)\
**Post date:** [April 18, 2014, 7:10am UTC](https://forum.inductiveautomation.com/t/how-to-rotate-pdf-inside-pdf-viewer/2198/3 "2014-04-18T07:10:15Z")

</div>

So many time and no result ☹

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [April 18, 2014, 6:33pm UTC](https://forum.inductiveautomation.com/t/how-to-rotate-pdf-inside-pdf-viewer/2198/4 "2014-04-18T18:33:13Z")

</div>

The PDF Viewer module on the [module marketplace](http://marketplace.inductiveautomation.com/moduledetail?7&moduleId=48) supports rotation.

Try code like:

```auto
pdfViewer.controller.documentViewController.setRotateRight()
```

---

<div class="post-metadata">

**Author:** ![Serhii](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Serhii](https://forum.inductiveautomation.com/u/Serhii)\
**Post date:** [April 24, 2014, 6:43pm UTC](https://forum.inductiveautomation.com/t/how-to-rotate-pdf-inside-pdf-viewer/2198/5 "2014-04-24T18:43:34Z")

</div>

Perfect! ![:thumb_right:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:")
