Table of Contents

Method GetGridLineWeight

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetGridLineWeight(int, int, DxfGridLineType)

Gets the lineweight of a line of a cell, as AutoCAD's GetGridLineWeight(row, column, gridLineType): the cell's own of the edge that holds the line, its top (279), right (275), bottom (276) or left (278), as GetGridColor(int, int, DxfGridLineType) reads it; null where it has none.

public DxfLineWeight? GetGridLineWeight(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

DxfLineWeight?

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