We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ArgumentOutOfRangeException when saving pdf after flatten annotations

Hi I have an application based on the WPF inkAnnotation example.
  1. add annotations to the pdf both ink and free text annotations.
  2. save and close the pdf.
  3. reload the pdf because otherwise the annotations I just added aren't available.
  4. attempt to save the now flattened pdf and get "A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in Syncfusion.Pdf.Base.dll" .

I updated to yesterday for the express purpose of flattening annotations ... please help.

1 Reply

AS Abirami Selvan Syncfusion Team May 20, 2016 06:48 AM UTC

Hi Daniel, 
Thanks for  contacting Syncfusion support. 
We are unable to reproduce the issue getting argument out of range exception when apply flatten to the annotations. We have attached the sample which we have tried to reproduce the issue for your reference. 
Sample link: 
Could you please provide the sample or code snippet which you have reproduced this issue. It will help us to proceed further in this issue and provide you the prompt solution.  

Live Chat Icon For mobile
Up arrow icon