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

Saving the same result to MemoryStream and local file:

Saving the same result to MemoryStream and local file:

                    using (MemoryStream ms = new MemoryStream(_tempDatei))
                    {

                    ...
                    pdfDocument.Save(toMyLocalFilesSystemStringPath);//save to file system
                    pdfDocument.Save(ms);//save to MemoryStream
                        
                        

                        

                    }
                    
How to do this, at the moment "ms" is kind of empty ?!

1 Reply

KC Karthikeyan Chandrasekar Syncfusion Team April 5, 2016 07:05 AM UTC

Hi,
We are not able to reproduce the issue which you have mentioned, I have attached a simple sample to save the PDF document in Local disk and Memory Stream. Please refer the sample and modify it to reproduce the issue, so that we will provide the solution for this.

Regards,
Karthikeyan.C



Loader.
Live Chat Icon For mobile
Up arrow icon