Zoom example for our JavaScript PDF viewer

Implement quick zooming and panning of PDF pages, regardless of layout and vector image complexity. Get additional resources by visiting our guide about zoom options in our JavaScript PDF viewer.


import PSPDFKit from "@nutrient-sdk/viewer";
export function load(defaultConfiguration) {
return PSPDFKit.load(defaultConfiguration).then((instance) => {
console.log("Nutrient Web SDK successfully loaded!!", instance);
return instance;
});
}

This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.