Method LinkCells
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
LinkCells(CadDocument, string, int, int, string)
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
documentCadDocumentThe document.
tableHandlestringThe table's handle.
rowintThe top left cell's row, from nought.
columnintThe top left cell's column, from nought.
linkNamestringThe data link's name.
Returns
- CadEditResult
What came of it.
Exceptions
- ArgumentNullException
Thrown when an argument is null.