Some test text!

Search
Hamburger Icon

Xamarin / Guides / Remove annotation

Remove annotation from document in Xamarin

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

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales