Table of Contents

Method Edit

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Changes a data link, as Modify Excel Link does: its file, cells and options written anew, one undo step. The tables it fills are not changed until the link is updated.

public static CadEditResult Edit(CadDocument document, string name, CadDataLinkSettings settings)

Parameters

document CadDocument

The document.

name string

The name of the link.

settings CadDataLinkSettings

The settings; the name in them is the link's new name.

Returns

CadEditResult

What came of it.

Exceptions

ArgumentNullException

Thrown when the document, the name or the settings are null.