Method GetEditRule
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
GetEditRule(DxfEntity)
Says what the presenter may do to an entity: Free for one with no tag, ReadOnly for one whose owner is not registered, and otherwise what its owner answers.
public CadEditRule GetEditRule(DxfEntity entity)
Parameters
entityDxfEntityThe entity.
Returns
- CadEditRule
The rule.
Exceptions
- ArgumentNullException
Thrown when the entity is null.