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
close icon

How to correctly use MemoryStream to work with WordDocument ?

How to correctly use MemoryStream to work with WordDocument  ?

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

Can you prepare an example ?

3 Replies

SR Suganya Rathinam Syncfusion Team 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



TE Testname April 1, 2016 09:23 AM UTC

Ok, thank you


SR Suganya Rathinam Syncfusion Team April 1, 2016 10:18 AM UTC

Hi,

Please let us know if you need any further assistance.

Regards,
Suganya


Loader.
Live Chat Icon For mobile
Up arrow icon