Method Rename
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Rename(CadPublishSheet, string)
Renames a sheet, as AutoCAD's Rename Sheet: the name has none of < > / \ " : ? * | and no other sheet has
it, letters of either case the same.
public string Rename(CadPublishSheet sheet, string name)
Parameters
sheetCadPublishSheetThe sheet.
namestringThe new name; its ends are trimmed.
Returns
- string
Why it was refused; null where the sheet was renamed.
Exceptions
- ArgumentNullException
Thrown when the sheet or the name is null.