Introduced in build 22.214.171.1249
Writes a Document to a file and saves it to a SharePoint Document Library.
wordApplicationThe current WordApplication object from which Save is being called
docLibThe SharePoint Document Library to which the file will be saved
fileNameFilename of the
overwriteIf true, will overwrite an existing file of the same name in the Document Library
System.ExceptionThrown if there is an error 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.