Headless JavaScript PDF Editor
It’s possible to apply document editor operations without the need to present any UI to the user.
To do this, set the headless
option as true
when loading the SDK. This indicates you don’t want any UI:
PSPDFKit.load({ ... headless: true }) .then((instance) => { // Apply your operations. })
Once the SDK is loaded, you can apply any of our document editor operations as normal.