# PDF Viewer Scroll via Buttons

**URL:** <https://forum.inductiveautomation.com/t/pdf-viewer-scroll-via-buttons/36442>\
**Category:** Ignition\
**Created:** [July 7, 2020, 4:18pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-scroll-via-buttons/36442 "2020-07-07T16:18:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elliot.lohr](https://avatars.discourse-cdn.com/v4/letter/e/3bc359/32.png) [@elliot.lohr](https://forum.inductiveautomation.com/u/elliot.lohr)\
**Post date:** [July 7, 2020, 4:18pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-scroll-via-buttons/36442/1 "2020-07-07T16:18:27Z")

</div>

Hey everyone, I am trying to scroll through a PDF Viewer Component using buttons since the scroll bar/arrow buttons on the component are rather small for a touch screen.

I have found that this is possible on a power table using .getVerticalScrollBar(), however this the PDF Viewer doesn’t appear to have this method.

Does anyone know of a similar method for PDF Viewers that returns a scrollbar that I can increment and decrement using buttons?

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [July 21, 2020, 6:06pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-scroll-via-buttons/36442/2 "2020-07-21T18:06:37Z")

</div>

> [@PDF Viewer: Access Scroll Bars](http://forum.inductiveautomation.com/t/pdf-viewer-access-scroll-bars/36911):
>
> I’m having trouble getting access to the scroll bars on the pdf viewer component, java noob here. I was able to control the rotation and zoom mode with the swingController ,target.getController(), but I don’t see anything with the scroll bars. Will those be apart of JScrollPane or something else? Update I was able to get to the value of the scroll bar with target = event.source.parent.getComponent('PDF Viewer') swingController = target.getController() viewController = swingController.getDocu…

---

<div class="post-metadata">

**Author:** ![elliot.lohr](https://avatars.discourse-cdn.com/v4/letter/e/3bc359/32.png) [@elliot.lohr](https://forum.inductiveautomation.com/u/elliot.lohr)\
**Post date:** [July 21, 2020, 6:24pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-scroll-via-buttons/36442/3 "2020-07-21T18:24:31Z")

</div>

Appreciate it! I just decided to go a different route since the scroll bar didn’t behave great on touchscreen!
