Some test text!
To remove an annotation from a document.
const doc = await PDFNet.PDFDoc.createFromURL(filename);
const page = await doc.getPage(1);
// remove by index
page.annotRemove(0);
// remove by annotation
const annotation = await page.getAnnot(0);
page.annotRemove(annotation);
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Web
Android
iOS
Windows
Linux
Unlimited usage. No email address required.