Some test text!

Loading...
Guides
Remove annotation

Remove annotation from document in Java

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

Upcoming Webinar: Live tech update & run-through: Redaction | March 31st at 11 am PT

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use