Hello!
I'm trying to call the exportAnnotationsAsObject method in the annotationAdd callback, but get an error in the promise: TypeError: _this.viewerBase.exportAnnotationsAsObject() is undefined. This happens only for the StickyNote annotation type.
If I wrap the export method in a setTimeout, it works just fine. My guess is that the event is fired too quick. Is there any way to solve this? Code snippet include
Hi Jakub,
We confirmed the reported issue “annotationAdd event is triggered before adding the sticky notes annotation” and the fix for the changes will be included in our upcoming weekly NuGet release on February 2, 2022. You can track the status using the below feedback link,
Regards,
Dhivya.
|
Service side package |
ASP.NET Core :
https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows/https://www.nuget.org/packages/Syncfusion.EJ2.PdfViewer.AspNet.Core.Linux/
ASP.NET MVC:
|