[]
Saves data to the specified excel file.
[Obsolete]
public void Save(string fileName, string password = null, SaveOptions saveOptions = null)
<Obsolete>
Public Sub Save(fileName As String, Optional password As String = Nothing, Optional saveOptions As SaveOptions = Nothing)
Type | Name | Description |
---|---|---|
string | fileName | The excel file. |
string | password | The password of the file. |
SaveOptions | saveOptions | Options for saving |
Saves the workbook to the disk.
public void Save(string fileName)
Public Sub Save(fileName As String)
Type | Name | Description |
---|---|---|
string | fileName | The file name. |
Saves workbook to the specified excel file stream.
[Obsolete]
public void Save(Stream fileStream, string password = null, SaveOptions saveOptions = null)
<Obsolete>
Public Sub Save(fileStream As Stream, Optional password As String = Nothing, Optional saveOptions As SaveOptions = Nothing)
Type | Name | Description |
---|---|---|
Stream | fileStream | The file stream. |
string | password | The password of the file. |
SaveOptions | saveOptions | Options for saving |
Saves the workbook to the stream.
public void Save(Stream fileStream)
Public Sub Save(fileStream As Stream)
Type | Name | Description |
---|---|---|
Stream | fileStream | The file stream. |
Saves workbook to file with specified file format.
public void Save(string fileName, SaveFileFormat fileFormat)
Public Sub Save(fileName As String, fileFormat As SaveFileFormat)
Type | Name | Description |
---|---|---|
string | fileName | The specified file. |
SaveFileFormat | fileFormat | The format of the file. |
Saves workbook to stream with specified file format.
public void Save(Stream fileStream, SaveFileFormat fileFormat)
Public Sub Save(fileStream As Stream, fileFormat As SaveFileFormat)
Type | Name | Description |
---|---|---|
Stream | fileStream | The specified file stream. |
SaveFileFormat | fileFormat | The format of the file stream. |
Saves workbook to file with specified options.
public void Save(string fileName, SaveOptionsBase options)
Public Sub Save(fileName As String, options As SaveOptionsBase)
Type | Name | Description |
---|---|---|
string | fileName | The specified file. |
SaveOptionsBase | options | The options of saving the file. Possible types: |
Saves workbook to stream with specified options.
public void Save(Stream fileStream, SaveOptionsBase options)
Public Sub Save(fileStream As Stream, options As SaveOptionsBase)
Type | Name | Description |
---|---|---|
Stream | fileStream | The specified file stream. |
SaveOptionsBase | options | The options of saving the file stream. Possible types: |