Table of Contents

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

row int

The row, from nought.

col int

The column, from nought.

edge DxfCellEdgeMasks

The 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

gridlineType DxfGridLineType

The line: one of the six.

type DxfRowType

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