 | WorkbookLoadAsync(String, ImportOptions) Method |
Loads a workbook from a file asynchronously
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+b0ed5f8a99a50b9e6528224889fbd7f23c30b364
Syntaxpublic static Task<Workbook> LoadAsync(
string filename,
ImportOptions options = null
)
Parameters
- filename String
- Filename of 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
Exceptions| Exception | Condition |
|---|
| IOException | Throws IOException in case of an error |
See Also