Method SetName
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetName(string, string)
Renames an entry, as AutoCAD's SetName; nothing where the name is the one it has. An anonymous group given a
name that does not begin with * is anonymous no longer (group 70 of 0), as Name makes it.
public void SetName(string oldName, string newName)
Parameters
Exceptions
- ArgumentNullException
Thrown when a name is null.
- ArgumentException
Thrown when the new name is empty or has a control character in it, or names another entry already.
- KeyNotFoundException
Thrown when the dictionary has no entry of the old name.