Click or drag to resize
NanoXLSX

WorkbookSaveAsAsync Method

Saves the workbook with the defined name asynchronous.

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public Task SaveAsAsync(
	string fileName
)

Parameters

fileName  String
filename of the saved workbook

Return Value

Task
Task object (void)
Exceptions
ExceptionCondition
IOExceptionMay throw an IOException in case of an error. The asynchronous operation may hide the exception.
RangeExceptionMay throw a RangeException if the start or end address of a handled cell range was out of range. The asynchronous operation may hide the exception.
FormatExceptionMay throw a FormatException if a handled date cannot be translated to (Excel internal) OADate. The asynchronous operation may hide the exception.
See Also