LowLevel.SaveAsStream Method

PicoXLSX

PicoXLSX

LowLevelSaveAsStream Method

Method to save the workbook as stream

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public void SaveAsStream(
	Stream stream
)

Parameters

stream
Type: System.IOStream
Writable stream as target
Exceptions
ExceptionCondition
IOExceptionThrows IOException in case of an error
RangeExceptionThrows an OutOfRangeException 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
Remarks
The StyleException should never happen in this state if the internally managed style collection was not tampered.
See Also