Some test text!

Search
Hamburger Icon

Mac / Guides / Remove annotation

Remove annotation from document on macOS

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

Get the answers you need: Chat with us