 | WorkbookLoad(String, ImportOptions) Method |
Loads a workbook from a file
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+c253a7d00ca5e19be14df4552cf12c589ec4ab3e
Syntaxpublic static Workbook Load(
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
WorkbookWorkbook object
Exceptions| Exception | Condition |
|---|
| IOException | Throws IOException in case of an error |
See Also