Table of Contents

Method LinkCells

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Links a table's cells to a data link, as Link Cell does and as a table made from a data link is: the data read from the source and put into the table from the cell given, rows and columns added where the table is too small to hold it, the cells linked, one undo step. A table of a drawing before AutoCAD 2007, or whose cells are linked already, is refused.

public static CadEditResult LinkCells(CadDocument document, string tableHandle, int row, int column, string linkName)

Parameters

document CadDocument

The document.

tableHandle string

The table's handle.

row int

The top left cell's row, from nought.

column int

The top left cell's column, from nought.

linkName string

The data link's name.

Returns

CadEditResult

What came of it.

Exceptions

ArgumentNullException

Thrown when an argument is null.