Delete All Annotations from a Page of a PDF File
Contents
[
Hide
]As well as adding annotations to a page or PDF document, Aspose.PDF allows you to remove them.
A Page object’s AnnotationsCollection collection contains all the annotations for that particular page. To delete all the annotations from a page, call the delete(..) method of the AnnotationCollection collection without passing any argument.
The following code snippet shows you how to delete all the annotations from a particular page.