Table of Contents

Method GetDataLink

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

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

row int

The row, from nought.

column int

The column, from nought.

Returns

DxfDataLink

The link, or null.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's.

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.

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

range DxfCellRange

The 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.