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.
Syncfusion Feedback

How to correctly use MemoryStream to work with WordDocument ?

Thread ID:

Created:

Updated:

Platform:

Replies:

123567 Mar 31,2016 10:05 AM UTC Apr 1,2016 10:18 AM UTC ASP.NET MVC 3
loading
Tags: DocIO
Testname
Asked On March 31, 2016 10:05 AM UTC

How to correctly use MemoryStream to work with WordDocument  ?

WordDocument document = new WordDocument(myMemoryStream); //?

Can you prepare an example ?

Suganya Rathinam [Syncfusion]
Replied On April 1, 2016 08:53 AM UTC

Hi Customer,

Thank you for contacting Syncfusion support.

DocIO provides support to open and save the Word document using the memory stream. Please find the following API documentation link for opening and saving the Word document using the memory stream for your reference.


Opening the document using Memory stream:
http://help.syncfusion.com/cr/cref_files/file-formats/docio/Syncfusion.DocIO.Base~Syncfusion.DocIO.DLS.WordDocument~Open(Stream,FormatType).html

Saving the document using Memory Stream:
http://help.syncfusion.com/cr/cref_files/file-formats/docio/Syncfusion.DocIO.Base~Syncfusion.DocIO.DLS.WordDocument~Save(Stream,FormatType).html


Regards,
Suganya


Testname
Replied On April 1, 2016 09:23 AM UTC

Ok, thank you

Suganya Rathinam [Syncfusion]
Replied On April 1, 2016 10:18 AM UTC

Hi,

Please let us know if you need any further assistance.

Regards,
Suganya


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.

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

;