How to detect that user did annotate

I want to detect that user edited pdf content and then save automatically when the screen is closed. It would be enough to detect that user pressed 'Annotate' button but even better would be to get some 'dirty' flag. 

Thanks for a help


3 Replies 1 reply marked as answer

SP SarathKumar Prakash Syncfusion Team December 15, 2021 11:10 AM UTC

Hi Branislav, 
 
Currently we do not have support to detect whether the annotation button is clicked.But we have “Added” event for each annotation.You can use below events to detect the each annotation operation
1.InkAdded,
2.FreeTextAnnotationAdded,
3.ShapeAnnotationAdded,
4.StampAnnotationAdded,
5.TextMarkupAdded 
Please follow the below link for more information, 
  
Regards, 
Sarath Kumar. 


Marked as answer

BM Branislav Malovec December 16, 2021 09:15 AM UTC

Thanks for proposal, it's probably the best for now. if new annotate option added then checks will have to be expanded, that's a downside of this solution.



SP SarathKumar Prakash Syncfusion Team December 17, 2021 10:11 AM UTC

Hi Branislav, 
 
if new annotate option added then checks will have to be expanded, that's a downside of this solution. = > Can you explain this elaborately.

 
Regards, 
Sarath Kumar. 


Loader.
Up arrow icon