onAnnotationAdded() callback is not triggering for PEN annotation


Product Version:9.2.0

Please give a brief summary of your issue:
(Think of this as an email subject)
onAnnotationAdded() callback is not triggering for PEN annotation

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Hi, i want to do some function when there is annotation added into Pdf document. I observe, when i select Pen annotation, the callback is not triggering till you un-select the same after annotation drawn.

Please find

the attached video for the clear understanding.

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:



Thanks for contacting us. This is expected behavior as for Freehand annotations (pen annotation), the annotation consists of multiple strokes/lines. So the annotation is only created after the multiple strokes are completed (when the tool is closed or when the user navigates away from the viewer).

Could you describe to us what behavior you’re expecting on your end? Is this behavior causing any problems in your app?