Method Open
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Open(string)
Opens a drawing from a file and shows it, or shows it where it is open already.
CadDocument Open(string path)
Parameters
pathstringThe full path of a DXF or DWG file.
Returns
- CadDocument
The drawing.
Exceptions
- InvalidOperationException
Thrown when the file cannot be opened; the message says why.