Page tree
Skip to end of metadata
Go to start of metadata

Overload

Description

Save(String)

Saves the generated Word file on the server.

Save(System.IO.Stream)

Sends the generated Word binary file to the specified System.IO.Stream or, a class derived from System.IO.Stream (for example, System.IO.FileStream).

Save(System.Web.HttpResponse)

If you pass Save an HttpResponse object object, WordWriter will stream the generated file to the client. If the user chooses to open (rather than save) the file, it will open in the browser window.

Save(System.Web.HttpResponse, String, Boolean)

If you pass save an HttpServletResponse object, WordWriter will stream the generated file to the client. This method allows you to specify a default client-side file name, and whether the file should be opened in the browser window or in Microsoft Word.

SharePoint Integration Extension Methods

Introduced in build 4.5

Overload

Description

Save(Microsoft.SharePoint.SPDocumentLibrary, String, Boolean)

Saves the generated Word file to a SharePoint Document Library.

Save(Microsoft.SharePoint.SPListItem, String)

Saves the generated Word file to a SharePoint List Item.
  • No labels