Enum CadEditRule
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
What the presenter may do to an entity, as its owner answers through GetEditRule(DxfEntity): a line of a model drawing's view is read-only, a mark may be moved, a dimension edited through its owner.
public enum CadEditRule
Fields
Free = 0The presenter edits the entity itself and asks nobody: a line drawn by hand, everything in a plain DXF.
ReadOnly = 1Nothing may change the entity, erasing it included: a projected line of a view is the model, changed by changing the view, not the line.
MoveOnly = 2The entity may be moved (Move) and nothing else; the move goes to its owner, which records it, as a mark dragged off its part is.
Edit = 3Every edit goes to the owner, which takes or refuses each one: a dimension moved, its text overridden, a grip dragged.