Im trying to do a discard annotations button on a page that display a pdf and has a toolbar to add annotations.
I would like to have the option of after adding some annotations, the user could revert to the original file, removing all annotations he did.
I tried finding a variable that saved a list of the annotations made but haven’t found anything of sort.
Is there a way to discard all annotations made, or a place i can see the annotations that were created ?