Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pdf.js and viewer.html Default zoom initial value

js

https://github.com/mozilla/pdf.js/

I´m calling in this way http://xxx.xxx.xxx.xxx./pdf/web/viewer.html?file=file.pdf

Now the question is how can I set the value to 75% default zoom like initial value display?

like image 849
coerrace Avatar asked Oct 15 '25 17:10

coerrace


1 Answers

I think this is what you are looking for?

/pdf/web/viewer.html#zoom=75

working example

http://mozilla.github.io/pdf.js/web/viewer.html#zoom=75

like image 156
Remi Smirra Avatar answered Oct 17 '25 09:10

Remi Smirra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!