Hi guys! I have problems with flattening annotations in PDF documents. None of the approaches I've tried so far works. Please see the demo, files, and project attached.
To be noticed: Very often when I try to load the previously saved file (with the help of await this.SfPdfViewerControl.SaveAsync();) that contains any kind of stamp (added with SfPdfViewerControl.AddStamp();) I get a crush with error message exception
"An item with the same key has already been added. Key: 1_CustomView1". But I guess this issue is not related to flattened annotations.
I appreciate any help you can provide!
Attachment: flattenAnnotationsIssue_c2e1038a.zip