Table of Contents

Method TakeSnapshot

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

TakeSnapshot()

Asks the app to keep the drawing as it stands, with the changes not saved, to put it back to with Reset(CadRemoteSnapshot): for a program that tries edits on the drawing again and again from the same start. What the user did before can still be undone after a reset while the app's undo list holds the point of the snapshot; where it does not (a reset to a later snapshot after a reset to an earlier one) the app reads the drawing back from the snapshot's bytes and starts its undo list afresh. What came after the snapshot is the episode.

public CadRemoteSnapshot TakeSnapshot()

Returns

CadRemoteSnapshot

The snapshot.

Exceptions

CadRemoteException

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