Table of Contents

Method Reset

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

Reset(CadRemoteSnapshot)

Asks the app to put the drawing back as the snapshot kept it: its entities, tables, layouts, handles and header variables. The steps made since are forgotten, not made one more step, so that a thousand resets leave the app's memory where one does; the display is updated as after an undo.

public void Reset(CadRemoteSnapshot snapshot)

Parameters

snapshot CadRemoteSnapshot

The snapshot of this drawing.

Exceptions

ArgumentNullException

Thrown when the snapshot is null.

ArgumentException

Thrown when the snapshot is of another drawing.

CadRemoteException

Thrown when the drawing is closed, a command is running in it, or the snapshot was released.