Click or drag to resize
DocumentModelSave Method
Overload List
  NameDescription
Public methodSave(String)
Saves the document to a file with the specified path. Path must include file extension.
Public methodSave(Stream, SaveOptions)
Saves the document in the specified stream.
Public methodCode exampleSave(Object, String)
Saves the document to a System.Web.HttpResponse or System.Web.HttpResponseBase output stream or a System.Net.Http.HttpResponseMessage and sets appropriate HTTP response headers (Content-Type and Content-Disposition). Use this method in ASP.NET application to send the document to a client browser. File format is resolved from fileName extension. See remarks why httpResponse parameter is of type Object.
Public methodSave(String, SaveOptions)
Saves the document to a file with the specified path.
Public methodSave(XmlWriter, HtmlSaveOptions)
Save the document to HTML format using the specified writer.
Public methodCode exampleSave(Object, String, SaveOptions)
Saves the document to a System.Web.HttpResponse or System.Web.HttpResponseBase output stream or a System.Net.Http.HttpResponseMessage and sets appropriate HTTP response headers (Content-Type and Content-Disposition). Use this method in ASP.NET application to send the document to a client browser. File format is defined with options parameter. See remarks why httpResponse parameter is of type Object.
Top
See Also