Writes a Document to a stream in the form of a Microsoft Word document.

 public void Save(Document doc, System.IO.Stream @out)
Public Sub Save(ByVal doc As Document, ByVal out As System.IO.Stream)

The Document to save.

The to write the file to.

Thrown if there is a problem saving the file.

The WordApplication.Preserve property is used to specify the way WordWriter will save the document. When the preserve property is set to true, WordWriter attempts to preserve all formatting and features that it doesn't directly support. This includes Fields, Footnotes, Hyperlinks, Comments, and Anchored Images. When the preserve property is false, only those features directly supported by WordWriter will be preserved. This includes all Tables, Lists, Headers and Footers.

app.Save(doc, strm);
app.Save(doc, strm)