Method RemoveDataLink
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
RemoveDataLink()
Takes every data link of the table away, as AutoCAD's RemoveDataLink(): each top left cell's link groups
taken out and its 92 made even, in the TABLECONTENT, where the flag 4 of a linked cell is cleared too from the state
of every cell of the range, and in the cells of the ACAD_TABLE, in one writing of each record. AutoCAD 2021 read the
cell (2, 1) of a range linked over (1, 0) to (2, 1), left with its state 4 when the link was taken away, as linked
with no range, and saved it so (its 73-n); no cell of the range is left so. A cell of the flag 4 outside every
range, which AutoCAD reads as not linked (73-m), is left as it is. The DATALINK let go of stays in the drawing, in the
dictionary of data links, named or anonymous (Anonymous), as AutoCAD 2021's
RemoveDataLink keeps it, the table and what it owns taken out of the objects it lists itself tied to (its
94 and their 330s): AutoCAD's link of the table F6 alone, 94 2, 330 F6, 330 149, comes out
94 0. The cells keep what they hold. Nothing where the table has none.
public void RemoveDataLink()
Exceptions
- InvalidOperationException
Thrown when the table has links and is erased.
RemoveDataLink(int, int)
Takes away the data link of the range a cell is in, as AutoCAD's RemoveDataLink(row, column), as
RemoveDataLink() takes every one away, the flag 4 cleared from every cell of the range: the first range by
its top left cell, row by row, that holds the cell. Nothing where it is in none.
public void RemoveDataLink(int row, int column)
Parameters
Exceptions
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's.
- InvalidOperationException
Thrown when the cell is linked and the table is erased.