Some test text!

Discord Logo

Chat with us

PDFTron is now Apryse, learn more here.

Windows / Guides / Remove annotation

Platform


Documentation


PDFTron is now Apryse, learn more here.

Remove annotation from document on Windows

To remove an annotation from a document.

PDFDoc doc = new PDFDoc(filename);
Page page = doc.GetPage(1);

// remove by index
page.AnnotRemove(0);

// remove by annotation
Annot annotation = page.GetAnnot(0);
page.AnnotRemove(annotation);

Get the answers you need: Support