Some test text!

menu
Remove annotationkeyboard_arrow_down

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

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.