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.
Unfortunately, activation email could not send to your email. Please try again.

Saving the same result to MemoryStream and local file:

Thread ID:

Created:

Updated:

Platform:

Replies:

123613 Apr 4,2016 05:57 AM Apr 5,2016 03:05 AM ASP.NET MVC 1
loading
Tags: PDF
Testname
Asked On April 4, 2016 05:57 AM

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 03:05 AM

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



CONFIRMATION

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.

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.

;