pdf viewer - how to start 100%page instead automatic zoom

Q&A about the latest versions
Post Reply
User avatar
Tworks
Posts: 3
Joined: Fri Jan 20, 2023 10:19 am

Hi,

I have the pdf hotspot with the pdf viewer popup.
It starts with the automatic zoom.
How do I start it with 100% page instead?

reason: the automatic zoom shows part of the pdf page when opening the popup and user then first has to find out how to see the full page and I think it is more is user friendly to start with the page viewd 100%.

In the documentation I have found something about a toolbar but I could not find it to change parameters. Maybe the start page setting it is in the addional tools?

greetz, Jeroen
Attachments
Schermafbeelding 2023-01-21 130436.jpg
Schermafbeelding 2023-01-21 130436.jpg (124.49 KiB) Viewed 399 times
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Jeroen,
I have the pdf hotspot with the pdf viewer popup. It starts with the automatic zoom. How do I start it with 100% page instead?
As far as I know, at this time, you can not change the default automatic zoom setting. In this sample I'm loading the PDF via an iFrame and using a PDF parameter 'view=Fit' that fits the document into the player regardless of the players size.

Maybe someone knows how to add the parameter to the V7 version :-)

https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

Small Browser Window

p2vr_tut_package_3.png
p2vr_tut_package_3.png (812.9 KiB) Viewed 367 times

Larger Browser Window

p2vr_tut_package_2.png
p2vr_tut_package_2.png (1.96 MiB) Viewed 367 times

I have a tutorial on my website if you are interested https://tonyredhead.com/pano2vr/auto-re ... in-a-popup
In the documentation I have found something about a toolbar but I could not find it to change parameters. Maybe the start page setting it is in the additional tools?
If you open a skin, say the venis.ggsk and in the skin go to the pdf_hs_popup folder and select pdf_hs_popup_pdf. In the Skin Properties under PDF Document you will see the Toolbar properties. Once you check enable you can toggle the different options on or off. These are then hidden in the PDF player when you view the project. So if you don't want to allow Printing then uncheck it and the print button will not be show.

There isn't any setting for zoom.


p2vr_tut_package_4.png
p2vr_tut_package_4.png (869.96 KiB) Viewed 367 times

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Tworks
Posts: 3
Joined: Fri Jan 20, 2023 10:19 am

Hi Tony,

Thank you for your input.
I understand what you are doing with the iframe and 100% showing the pdf inside of the iframe... like I would do building a webpage in html/css.
For now I will probably leave it like it is done with the Pano2Vr output and let the user self setting the zoom...
and hopefully the parameter zoom function will be integrated in the next version within the pdf document settings.
Thank you for pointing out where I could find the settings.

with kind regards, Jeroen
Post Reply