Remove annotation from document on Server/Desktop

To remove an annotation from a document.

1$doc = new PDFDoc($filename);
2$page = $doc->GetPage(1);
3
4// remove by index
5$page->AnnotRemove(0);
6
7// remove by annotation
8$annotation = $page->GetAnnot(0);
9$page->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