Table of Contents

Method TryApply

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

TryApply(CadDocument, CadEdit)

Takes an edit of one of the owner's entities: the owner records it and changes or writes its entities again in the document; or refuses it, and the document stays as it was.

bool TryApply(CadDocument document, CadEdit edit)

Parameters

document CadDocument

The document the entity is in.

edit CadEdit

The edit.

Returns

bool

Whether the owner took the edit.