[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorkbook.Save

Save Method

Save(string)

Saves the workbook to the disk.

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

The file name.

Save(string, string, SaveOptions)

Saves data to the specified excel file.

Declaration
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.

Save(Stream)

Saves the workbook to the stream.

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

The file stream.

Save(Stream, string, SaveOptions)

Saves data to the specified excel file stream.

Declaration
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.

Save(string, SaveFileFormat)

Saves the specified format file.

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

The specified file.

SaveFileFormat fileFormat

The format of the file.

Save(Stream, SaveFileFormat)

Saves the specified format file stream.

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

The specified file stream.

SaveFileFormat fileFormat

The format of the file stream.

Save(string, SaveOptionsBase)

Saves workbook to file with specified options.

Declaration
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:

Save(Stream, SaveOptionsBase)

Saves workbook to stream with specified options.

Declaration
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: