Did you find this guide helpful?
Some test text!
Go / Guides / Remove annotation
To remove an annotation from a document.
doc := NewPDFDoc(filename)
page := doc.GetPage(1)
// remove by index
page.AnnotRemove(0)
// remove by annotation
annotation := page.GetAnnot(0)
page.AnnotRemove(annotation)
Get the answers you need: Chat with us