[]
bool SaveAs(Stream stream, FileFormat fileFormat = FileFormat.OpenXMLWorkbook, string password = null, ExportContext context = null)
Function SaveAs(stream As Stream, Optional fileFormat As FileFormat = FileFormat.OpenXMLWorkbook, Optional password As String = Nothing, Optional context As ExportContext = Nothing) As Boolean
| Type | Name | Description |
|---|---|---|
| Stream | stream | A Stream object indicates the stream to save to. |
| FileFormat | fileFormat | A FileFormat value indicates the file format when saving the workbook. |
| string | password | A case-sensitive string (no more than 15 characters) that indicates the protection password to be given to the file. |
| ExportContext | context | An ExportContext object indicates the export context. |
| Type | Description |
|---|---|
| bool |
|
Saves this IWorkbook to the specified file location.
bool SaveAs(string filename, FileFormat fileFormat = FileFormat.OpenXMLWorkbook, string password = null, ExportContext context = null)
Function SaveAs(filename As String, Optional fileFormat As FileFormat = FileFormat.OpenXMLWorkbook, Optional password As String = Nothing, Optional context As ExportContext = Nothing) As Boolean
| Type | Name | Description |
|---|---|---|
| string | filename | A string value indicates the file name to save to. |
| FileFormat | fileFormat | A FileFormat value indicates the file format when saving the workbook. |
| string | password | A case-sensitive string (no more than 15 characters) that indicates the protection password to be given to the file. |
| ExportContext | context | An ExportContext object indicates the export context. |
| Type | Description |
|---|---|
| bool |
|