Writes a Document to a file.
fileNameThe full filename to save the
System.ExceptionThrown if there is an error saving the file.
RemarksThe WordApplication.Preserve property is used to specify the way WordWriter will save the document. When the
preserveproperty 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
preserveproperty is false, only those features directly supported by WordWriter will be preserved. This includes all Tables, Lists, Headers and Footers.