Perspective PDF Viewer Fit Mode/Zoom

Hi there,

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

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.

Hello everyone!

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

Thanks

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

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.

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

1 Like

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
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:

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

1 Like

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.

1 Like

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