InkSignatureData isn't being sent

Angular 11

After drawing ink, when download button in toolbar is pressed (or other toolbar button), the ink figure is considered finished ("selected" or "focussed") and then is considered for the payload. (GIF attached)
In short: draw ink and when download button is pressed, the ink signature is in cache, so it is sent OK. But if you have the download button outside the viewer, when you draw ink and don't touch anything but the custom download button, it is not focused and ink is not sent to backend.


https://stackblitz.com/edit/angular-uav9jd?file=package.json

Is there any function that I can call when my download button is pressed so inkSignatureData is considered finished?


Attachment: downloadbuttoninside_132af807.rar

3 Replies 1 reply marked as answer

AA Akshaya Arivoli Syncfusion Team December 28, 2020 10:41 AM UTC

Hi Luis, 

Thank you for contacting Syncfusion support. 

We need to set the annotation mode to ‘None’ using the setAnnotationMode() API before downloading the PDF document from custom button, so that the Ink annotation mode is ended. Refer to the below modified sample for the same, 



Let us know if any queries on this. 

Regards, 
Akshaya  


Marked as answer

LU Luis December 28, 2020 02:31 PM UTC

Perfect, that is.
Thanks.


AA Akshaya Arivoli Syncfusion Team December 29, 2020 06:09 AM UTC

Hi Luis, 

Thank you for your update. We were glad to know that the reported issue was resolved. Please revert if you need any assistance in future 

Regards, 
Akshaya  


Loader.
Up arrow icon