removeAnnotationFromPage

abstract fun removeAnnotationFromPage(@NonNull annotation: Annotation)

Removes annotation from the document. If the annotation is not attached to the document of this annotation provider, this will be a no-op. Note that when using the Replies component of PSPDFKit (requires extra license flag), any replies to the removed annotation will be automatically removed as well from the document.

Parameters

annotation

Annotation to be removed from the document. May not be null.