 | WorkbookLoadAsync(Stream, ImportOptions) Method |
Loads a workbook from a stream asynchronously
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntaxpublic static Task<Workbook> LoadAsync(
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
TaskWorkbookWorkbook object
ExceptionsException | Condition |
---|
IOException | Throws IOException in case of an error |
See Also