Table of Contents

Method Rename

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Renames a data link, one undo step.

public static CadEditResult Rename(CadDocument document, string name, string newName)

Parameters

document CadDocument

The document.

name string

The link's name.

newName string

The new name, not another link's.

Returns

CadEditResult

What came of it.

Exceptions

ArgumentNullException

Thrown when an argument is null.