Did you find this guide helpful?
Some test text!
Ruby / Guides / Remove annotation
Platform
Documentation
To remove an annotation from a document.
doc = PDFDoc.new(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