Table of Contents

Method Close

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Close(CadDocument)

Closes a drawing without asking and without saving, as the x of its row does once the question is answered Don't save: it leaves Documents, and the next one is shown, or the start screen where it was the last. The server has checked already that its changes are to be thrown away and that nothing runs in it, so the host asks the user nothing and shows no dialog.

void Close(CadDocument document)

Parameters

document CadDocument

The drawing, open.