[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Workbook.Save

Save Method

Save(string, string, SaveOptions)

Saves data to the specified excel file.

Declaration
[Obsolete]
public void Save(string fileName, string password = null, SaveOptions saveOptions = null)
Parameters
Type Name Description
string fileName

The excel file.

string password

The password of the file.

SaveOptions saveOptions

Options for saving

Implements

Save(string)

Saves the workbook to the disk.

Declaration
public void Save(string fileName)
Parameters
Type Name Description
string fileName

The file name.

Implements

Save(Stream, string, SaveOptions)

Saves workbook to the specified excel file stream.

Declaration
[Obsolete]
public void Save(Stream fileStream, string password = null, SaveOptions saveOptions = null)
Parameters
Type Name Description
Stream fileStream

The file stream.

string password

The password of the file.

SaveOptions saveOptions

Options for saving

Implements

Save(Stream)

Saves the workbook to the stream.

Declaration
public void Save(Stream fileStream)
Parameters
Type Name Description
Stream fileStream

The file stream.

Implements

Save(string, SaveFileFormat)

Saves workbook to file with specified file format.

Declaration
public void Save(string fileName, SaveFileFormat fileFormat)
Parameters
Type Name Description
string fileName

The specified file.

SaveFileFormat fileFormat

The format of the file.

Implements

Save(Stream, SaveFileFormat)

Saves workbook to stream with specified file format.

Declaration
public void Save(Stream fileStream, SaveFileFormat fileFormat)
Parameters
Type Name Description
Stream fileStream

The specified file stream.

SaveFileFormat fileFormat

The format of the file stream.

Implements

Save(string, SaveOptionsBase)

Saves workbook to file with specified options.

Declaration
public void Save(string fileName, SaveOptionsBase options)
Parameters
Type Name Description
string fileName

The specified file.

SaveOptionsBase options

The options of saving the file. Possible types:

Implements

Save(Stream, SaveOptionsBase)

Saves workbook to stream with specified options.

Declaration
public void Save(Stream fileStream, SaveOptionsBase options)
Parameters
Type Name Description
Stream fileStream

The specified file stream.

SaveOptionsBase options

The options of saving the file stream. Possible types:

Implements