Table of Contents

Method GetGridVisibility

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetGridVisibility(int, int, DxfGridLineType)

Gets whether a line of a cell is drawn, as AutoCAD's GetGridVisibility(row, column, gridLineType): the cell's own of the edge that holds the line, its top (289), right (285), bottom (286) or left (288), as GetGridColor(int, int, DxfGridLineType) reads it, 0 not drawn and any other drawn (AutoCAD 2021 read 0 hidden, 1 and 2 drawn, D28c B5 to B7); null where it has none.

public bool? GetGridVisibility(int row, int column, DxfGridLineType gridLineType)

Parameters

row int

The row, from nought.

column int

The column, from nought.

gridLineType DxfGridLineType

The line: one of a cell's four.

Returns

bool?

Whether it is drawn, or null.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's, or the line is not one of a cell's four.