Method Rename
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Rename(CadDocument, IReadOnlyList<string>, string)
Renames a filter; a name a sibling has already, letters of either case the same, is refused.
public static CadEditResult Rename(CadDocument document, IReadOnlyList<string> path, string newName)
Parameters
documentCadDocumentThe document.
pathIReadOnlyList<string>The names of the filter.
newNamestringThe new name, the spaces round it taken off.
Returns
- CadEditResult
What came of it; the name it has already is done with nothing written.