Some test text!

Loading...
Guides
Remove annotation

Remove annotation from document in PHP

To remove an annotation from a document.

$doc = new PDFDoc($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

Upcoming Webinar: PDFTron SDK Tech Review | Nov 29, 2022 at 2 pm ET

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use