Some test text!

Loading...
Guides
Remove annotation

Remove annotation from document in Go

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: Support