Table of Contents

Method Delete

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Deletes a data link, one undo step. A link that fills a table is in use and is refused, "The data link is being used and cannot be deleted."; detach it from the table first.

public static CadEditResult Delete(CadDocument document, string name)

Parameters

document CadDocument

The document.

name string

The link's name.

Returns

CadEditResult

What came of it.

Exceptions

ArgumentNullException

Thrown when an argument is null.