Q: How can I change the default magnification in the Web PDF viewer / annotator from 100% to Fit to Page?
A: You change the default magnification in PDF Automation Server Web PDF Viewer by editing variable in the pdfviewer.js file.
// default to 100% magnification on initial doc load curZoomMode = 0; curScale = 1.0; // default to 50% magnification on initial doc load curZoomMode = 0; curScale = 0.5; // default to fit to width on initial doc load curZoomMode = 1; // default to fit to page on initial doc load curZoomMode = 2; |