Method Open
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Open(string)
Opens a workbook.
public static CadWorkbook Open(string path)
Parameters
pathstringThe .xlsx file.
Returns
- CadWorkbook
The workbook.
Exceptions
- ArgumentNullException
Thrown when the path is null.
- IOException
Thrown when the file cannot be read.
- InvalidDataException
Thrown when the file is no .xlsx workbook: not a zip, or without the parts of one.