Some test text!

Discord Logo

Chat with us

PDFTron is now Apryse, learn more here.

Core / Guides / Remove annotation

Platform


Documentation


PDFTron is now Apryse, learn more here.

Remove annotation from document on Cross-Platform (Core)

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