Table of Contents

Method Write

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Writes data links to their sources, as DATALINKUPDATE's Write data link does: the cells of each table a link fills put back into the workbook or the CSV file, whose other cells stay as they are. A link that does not allow it (its update options lack AllowSourceUpdate) is counted apart; a source that cannot be written is failed. The status of each link is written, one undo step.

public static CadDataLinkRun Write(CadDocument document, IEnumerable<DxfDataLink> links)

Parameters

document CadDocument

The document.

links IEnumerable<DxfDataLink>

The links.

Returns

CadDataLinkRun

How many went well, how many did not and how many do not allow it.

Exceptions

ArgumentNullException

Thrown when an argument is null.