[]
Saves the document to an OpenXml formatted file.
public void Save(string fileName, DocumentType type = DocumentType.Document)
Public Sub Save(fileName As String, Optional type As DocumentType = DocumentType.Document)
Type | Name | Description |
---|---|---|
string | fileName | The file path to save to. |
DocumentType | type | The document type to save to. |
Saves the document to a Stream.
public void Save(Stream stream, DocumentType type = DocumentType.Document)
Public Sub Save(stream As Stream, Optional type As DocumentType = DocumentType.Document)
Type | Name | Description |
---|---|---|
Stream | stream | The Stream where to save document. |
DocumentType | type | The document type to save to. |