Method Refuse
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Refuse(string)
Makes the result of an edit refused before anything was written, as a check of the window refuses one, so that it is reported as the document's own refusals are.
public static CadEditResult Refuse(string message)
Parameters
messagestringWhy, as the command line shows it.
Returns
- CadEditResult
The result: not made, refused, with the message.
Exceptions
- ArgumentNullException
Thrown when the message is null.