# Perspective PDF Viewer Fit Mode/Zoom

**URL:** <https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 19, 2020, 1:52pm UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911 "2020-08-19T13:52:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![denis.bartz](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@denis.bartz](https://forum.inductiveautomation.com/u/denis.bartz)\
**Post date:** [August 19, 2020, 1:52pm UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/1 "2020-08-19T13:52:24Z")

</div>

Hi there,

I’m trying to use the Perspective PDF Viewer, but somehow the page don’t resize.

 ![error_pdf_viewer](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/7/d78290c885c4151286d6c14d8ca3afe2d8dff875.jpeg)

Are there any properties that I’m missing? I tried to add “fit” and “pageFitMode”.

The source path that I’m using is “/main/Files/Documents/xxxxx.pdf” from “C:\Program Files\Inductive Automation\Ignition\webserver\webapps\main\Files\Documents”.

Ignition version: 8.0.15

Thanks.

---

<div class="post-metadata">

**Author:** ![l.cullel](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@l.cullel](https://forum.inductiveautomation.com/u/l.cullel)\
**Post date:** [March 16, 2022, 9:00am UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/2 "2022-03-16T09:00:10Z")

</div>

Hello everyone!

Is there anything new on this topic?  
I have the same problem in version 8.1.15 Ignition…

Thanks

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 16, 2022, 9:43am UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/3 "2022-03-16T09:43:53Z")

</div>

Idk about the component, but you can use the inline frame (to the same source) to use the browsers default pdf viewer.  
idk if that works for the app, but for chrome it is pretty good

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [July 29, 2024, 2:59am UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/4 "2024-07-29T02:59:43Z")

</div>

Did you mean, you can embed Chrome's PDF viewer in perspective?

Edit:  
I see that I can open PDF to a new browser tab. But not open PDF inside a perspective page.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [July 29, 2024, 6:30am UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/5 "2024-07-29T06:30:33Z")

</div>

If you put the path to the pdf in the inlineframe component it uses the browsers pdf viewer.

> **[Perspective - Inline Frame | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-display-palette/perspective-inline-frame)**
>
> The Inline Frame component enables you to display a webpage within the component.

> [@\[IGN-4270\] Perspective - PDF Viewer Zoom](https://forum.inductiveautomation.com/t/ign-4270-perspective-pdf-viewer-zoom/37369/6):
>
> if you open the pdf using the inline frame, you will get the default browser pdf viewer, in chrome this has zoom options (idk about other browsers) (note you dont see anything in the designer but you get this in chrome:

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [July 29, 2024, 1:11pm UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/6 "2024-07-29T13:11:40Z")

</div>

I manually placed pdf file on web dev mounted folder.  
I am able to access this. - but browser would download it first to my hard drive and open it on a new tab.

On Firefox - when going in to page with Iframe Component. Firefox would:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/96252d2d7a86071c72a92980ce70285623e554fe.png)  
eventually download in to hard drive before opening it on new tab.

On Chrome - opening an Iframe (pointing to mounted folder) would display the below:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/4/943908106789d01b28db3d12914f701678398cda.png)

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [July 29, 2024, 1:47pm UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/7 "2024-07-29T13:47:40Z")

</div>

cant you put in a relative path? so only from /system...

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [July 29, 2024, 2:39pm UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/8 "2024-07-29T14:39:29Z")

</div>

Oh.. That is a new foundational learn.  
Thank you..

THAT worked!

Edit:  
Firefox still wants to open on new Tab.  
Chrome's display the pdf within ignition page.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [July 29, 2024, 2:42pm UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/9 "2024-07-29T14:42:53Z")

</div>

Nice!  
And yh every browser will do something different with this methode.  
There might be a setting in Firefox itself to change this behavior too

---

<div class="post-metadata">

**Author:** ![Jose\_Pineda-Lugo](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@Jose\_Pineda-Lugo](https://forum.inductiveautomation.com/u/Jose_Pineda-Lugo)\
**Post date:** [May 28, 2025, 1:28pm UTC](https://forum.inductiveautomation.com/t/perspective-pdf-viewer-fit-mode-zoom/37911/10 "2025-05-28T13:28:28Z")

</div>

Did you guys ever tried running it on the perspective app? Seems like the Inline frame works a lot better than the regular PDF Viewer

EDIT: I tested it on the perspective App and it also worked fine.

Thanks for the ideas!
