For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove annotation from document in UWP

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);

Last updated

Was this helpful?