Workbook.SaveAsStream Method

NanoXLSX

NanoXLSX

WorkbookSaveAsStream Method

Save the workbook to a writable stream

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public void SaveAsStream(
	Stream stream
)

Parameters

stream
Type: System.IOStream
Writable stream
Exceptions
ExceptionCondition
IOExceptionThrows IOException in case of an error
RangeExceptionThrows an RangeException if the start or end address of a handled cell range was out of range
FormatExceptionThrows a FormatException if a handled date cannot be translated to (Excel internal) OADate
StyleExceptionThrows an StyleException if one of the styles of the workbook cannot be referenced or is null
See Also