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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Saving the same result to MemoryStream and local file:

Thread ID:





123613 Apr 4,2016 09:57 AM UTC Apr 5,2016 07:05 AM UTC ASP.NET MVC 1
Tags: PDF
Asked On April 4, 2016 09:57 AM UTC

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 ?!

KarthikeyanC [Syncfusion]
Replied On April 5, 2016 07:05 AM UTC

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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon