Method GridVisibility
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GridVisibility(int, int, DxfCellEdgeMasks)
Gets whether an edge of a cell is drawn, as AutoCAD's GridVisibility(row, col, edge): as GetGridVisibility(int, int, DxfGridLineType).
public bool? GridVisibility(int row, int col, DxfCellEdgeMasks edge)
Parameters
rowintThe row, from nought.
colintThe column, from nought.
edgeDxfCellEdgeMasksThe edge, one of the four.
Returns
- bool?
Whether it is drawn, or null where the cell has none of its own.
Exceptions
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's, or the edge is not one of the four.
GridVisibility(DxfGridLineType, DxfRowType)
Gets whether a line of the rows of a kind is drawn, as AutoCAD's GridVisibility(gridlineType, type): the
table's own (284 to 289, 1 drawn and 0 not), its flag in 96; null where it has none.
public bool? GridVisibility(DxfGridLineType gridlineType, DxfRowType type)
Parameters
gridlineTypeDxfGridLineTypeThe line: one of the six.
typeDxfRowTypeThe rows: one kind.
Returns
- bool?
Whether it is drawn, or null.
Exceptions
- ArgumentOutOfRangeException
Thrown when the line is not one of the six, or the rows not of one kind.