Save PDF without annotations using JavaScript
You can save a document without annotations using the excludeAnnotations API:
NutrientViewer.load(configuration) .then(async (instance) => { const arrayBuffer = await instance.exportPDF({ excludeAnnotations: true }); }) .catch((error) => { console.error("Failed to load document:", error.message); });