Click or drag to resize
NanoXLSX

WorkbookLoad(String, ImportOptions) Method

Loads a workbook from a file

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+3223c8b99fcd3402b4ae016daa480abac16f8a9f
Syntax
C#
public 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

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