Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
3.7.107
Detailed description of issue
Is it possible to load a pdf with a different zoom level than the default? Or even better to say that the pdf should take up the full width of the page.
THANKS.
WebViewer(...)
.then(function(instance) {
var docViewer = instance.Core.documentViewer;
var FitMode = instance.UI.FitMode;
// you must have a document loaded when calling this api
docViewer.addEventListener('documentLoaded', function() {
instance.UI.setFitMode(FitMode.FitWidth);
});
});