How to set PDF view as “Fit to Width” by default?
Please find the attached for more clarity.
Thank you for contacting WebViewer.
You could use instance.UI.setFitMode.
Please let me know how this works for you.
Web Development Support Engineer
PDFTron Systems, Inc.
Thanks a lot. It’s working.