Remove annotation from document on Server/Desktop

To remove an annotation from a document.

1PDFDoc doc = new PDFDoc(filename);
2Page page = doc.GetPage(1);
3
4// remove by index
5page.AnnotRemove(0);
6
7// remove by annotation
8Annot annotation = page.GetAnnot(0);
9page.AnnotRemove(annotation);

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales