Method GetDataLink
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetDataLink(int, int)
Gets the data link that fills a cell, as AutoCAD's GetDataLink(row, column) gives its id: that of the linked
range the cell is in, the first by its top left cell row by row; null where the cell is in none.
public DxfDataLink GetDataLink(int row, int column)
Parameters
Returns
- DxfDataLink
The link, or null.
Exceptions
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's.
GetDataLink()
Gets the data links of the table, as AutoCAD's GetDataLink() gives their ids: each once, in the order of the
top left cells of their ranges, row by row; empty for a table of none.
public IReadOnlyList<DxfDataLink> GetDataLink()
Returns
- IReadOnlyList<DxfDataLink>
The links, a new list.
GetDataLink(DxfCellRange)
Gets the data links of the ranges a range of cells meets, as AutoCAD's GetDataLink(range) gives their ids:
each once, in the order of the top left cells of their ranges, row by row.
public IReadOnlyList<DxfDataLink> GetDataLink(DxfCellRange range)
Parameters
rangeDxfCellRangeThe cells, within the table.
Returns
- IReadOnlyList<DxfDataLink>
The links, a new list; empty where the range meets no linked range.
Exceptions
- ArgumentNullException
Thrown when the range is null.
- ArgumentOutOfRangeException
Thrown when the range reaches past the table's rows or columns.