[]
        
(Showing Draft Content)

C1.Excel.C1XLBook.SaveAsync

SaveAsync Method

SaveAsync(string, FileFormat)

Saves asynchronous the worksheet to a file.

Declaration
public Task SaveAsync(string fileName, FileFormat format = FileFormat.OpenXml)
Parameters
Type Name Description
string fileName

Name of the file to save.

FileFormat format

C1.Excel.C1XLBook.FileFormat value that specifies the type of file to save.

Returns
Type Description
Task

SaveAsync(Stream, FileFormat)

Saves asynchronous the worksheet into a stream.

Declaration
public Task SaveAsync(Stream stream, FileFormat format = FileFormat.OpenXml)
Parameters
Type Name Description
Stream stream

Stream where the worksheet is saved.

FileFormat format

C1.Excel.C1XLBook.FileFormat value that specifies the format to save the worksheet in.

Returns
Type Description
Task