Method IsLinked
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
IsLinked(int, int)
Gets whether a cell is linked to data, as AutoCAD's IsLinked: for a range the TABLECONTENT names, its top left
cell, which names the link, whatever its state; any other cell of it whose state in the TABLECONTENT (its 90) has the
flag 4 of a linked cell; and any other that AutoCAD lays out from the ACAD_TABLE, its cell of the TABLECONTENT holding
no content (its 95 of nought), or one whose checksum in its custom data (ACAD_ROUNDTRIP_2008_CELL_CHECKSUM) does not
agree with the cell's text in the ACAD_TABLE, or the TABLECONTENT having no such cell. For a range named in the cells
of the ACAD_TABLE, which AutoCAD reads no link from, every cell of it, as GetDataLinkRange(int, int) finds it.
AutoCAD 2021 read the library's link over (1, 0) to (2, 1), its cells of no content, as linked at all four (D28 p2),
and AutoCAD's own, whose cells (1, 1), (2, 0) and (2, 1) held an empty value of the checksum of their text, as linked
at (1, 0) alone (73-h); a text, a number or an empty value there, its checksum agreeing, as not linked, and
disagreeing, as linked (D28b L1 to L14); a cell of the state 4 as linked (73-k), and (1, 0) of the state 0 still as
linked (73-l). A cell of the state 4 in no range is linked where it holds a content, whatever its checksum, with no
range and no link: AutoCAD read the title (0, 0) of Parts and (2, 1), a cell of data of no text, given it beside a
range over (1, 0) to (1, 1) as linked (73-r, L13), and (0, 1), of no content, given it beside the range of 73-k, as
not (73-m). A table the drawing's ACDB_RECOMPOSE_DATA does not list has no link of its TABLECONTENT.
public bool IsLinked(int row, int column)
Parameters
Returns
- bool
Whether it is.
Exceptions
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's.