Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi,
I need to save the bounds of a rectangle annotation. To achieve this, I'm handling the ShapeAnnotationChangedEventArgs when adding, editing, or deleting annotations. Since the bounds in the event arguments differ from the actual annotation, I'm loading the annotations from Page[i].Annotations.
On the first event, this works perfectly, but after subsequent events, LoadedDocument returns null. To work around this, I created the following method:
While this solution works, the performance deteriorates with each added annotation, eventually causing delays of 2-3 seconds when loading the document.
Is there any way to improve efficiency?