Hi Jay,
You can use the following code snippets to save the document to a Memory Stream.
[c#]
//Create MemoryStream for storing the document.
MemoryStream memStream = new MemoryStream();
//Save document to stream.
document.Save ( memStream , FormatType.Doc );
memStream.Seek ( 0 , SeekOrigin.Begin );
//Create a FileStream
FileStream fs = new FileStream("Sample.doc",FileMode.Create);
memStream.WriteTo(fs);
//Close streams.
memStream.Close();
fs.Close();
Here is the sample for your reference:
Stream.zipKindly take a look at the sample above and let me know if you have any other questions.
Thanks,
Melba