Click or drag to resize
NanoXLSX

WorkbookLoad(Stream, ImportOptions) Method

Loads a workbook from a stream

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public static Workbook Load(
	Stream stream,
	ImportOptions options = null
)

Parameters

stream  Stream
Stream containing the workbook
options  ImportOptions  (Optional)
Import options to override the data types of columns or cells. These options can be used to cope with wrong interpreted data, caused by irregular styles

Return Value

Workbook
Workbook object
Exceptions
ExceptionCondition
IOExceptionThrows IOException in case of an error
See Also