Remove annotation from document on iOS

To remove an annotation from a document.

1PTPDFDoc *doc = [[PTPDFDoc alloc] initWithFilepath: filename];
2PTPage *page = [doc GetPage:1];
3
4// remove by index
5[page AnnotRemoveWithIndex:0];
6
7// remove by annotation
8PTAnnot *annotation = [page GetAnnot:0];
9[page AnnotRemoveWithAnnot:annotation];

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales