Some test text!

Remove annotation

Remove annotation from document in Node.js

To remove an annotation from a document.

const doc = await PDFNet.PDFDoc.createFromURL(filename);
const page = await doc.getPage(1);

// remove by index
await page.annotRemove(0);

// remove by annotation
const annotation = await page.getAnnot(0);
await page.annotRemove(annotation);

Get the answers you need: Support

PDFTron live tech update & run-through: Jan 20th at 11 am PT