Table of Contents

Method Open

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

Open(string)

Opens a drawing from a file and shows it, or, where the app has the file open already, returns that drawing and shows it.

public CadRemoteDocument Open(string path)

Parameters

path string

The path of a DXF or DWG file.

Returns

CadRemoteDocument

The drawing.

Exceptions

ArgumentNullException

Thrown when the path is null.

CadRemoteException

Thrown when the file cannot be opened.