Method Rename
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Rename(CadUcsDialogRow, string)
Renames a row in place. A named system takes the name; Unnamed is saved under it, the current system as it stands, and becomes a named row.
public CadUcsDialogError Rename(CadUcsDialogRow row, string name)
Parameters
rowCadUcsDialogRowThe row, one of Rows that can be renamed.
namestringThe new name; the spaces around it are dropped.
Returns
- CadUcsDialogError
Null; or the message AutoCAD shows for a name it refuses, with nothing changed.
Exceptions
- ArgumentNullException
Thrown when the row is null.
- ArgumentException
Thrown when the row cannot be renamed (World and Previous).