[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheet.Save

Save Method

Save(string)

Saves current worksheet to file.

Declaration
void Save(string fileName)
Sub Save(fileName As String)
Parameters
Type Name Description
string fileName

The specified file name.

Save(string, SaveFileFormat)

Saves current worksheet to the specified format file.

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

The specified file.

SaveFileFormat fileFormat

The format of the file.

Save(Stream, SaveFileFormat)

Saves current worksheet to the specified format file stream.

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

The specified file stream.

SaveFileFormat fileFormat

The format of the file stream.

Save(string, SaveOptionsBase)

Saves current worksheet to the specified file.

Declaration
void Save(string fileName, SaveOptionsBase options)
Sub Save(fileName As String, options As SaveOptionsBase)
Parameters
Type Name Description
string fileName

The specified file.

SaveOptionsBase options

The options of saving the file.

Save(Stream, SaveOptionsBase)

Saves current worksheet to the specified file stream.

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

The specified file stream.

SaveOptionsBase options

The options of saving the file stream.