Method GridLineWeight
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GridLineWeight(int, int, DxfCellEdgeMasks)
Gets the lineweight of an edge of a cell, as AutoCAD's GridLineWeight(row, col, edge): as GetGridLineWeight(int, int, DxfGridLineType).
public DxfLineWeight? GridLineWeight(int row, int col, DxfCellEdgeMasks edge)
Parameters
rowintThe row, from nought.
colintThe column, from nought.
edgeDxfCellEdgeMasksThe edge, one of the four.
Returns
- DxfLineWeight?
The lineweight, 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.
GridLineWeight(DxfGridLineType, DxfRowType)
Gets the lineweight of a line of the rows of a kind, as AutoCAD's GridLineWeight(gridlineType, type): the
table's own (274 to 279 in the order of the lines), its flag in 95, as GridColor(DxfGridLineType, DxfRowType)
reads a colour; null where it has none.
public DxfLineWeight? GridLineWeight(DxfGridLineType gridlineType, DxfRowType type)
Parameters
gridlineTypeDxfGridLineTypeThe line: one of the six.
typeDxfRowTypeThe rows: one kind.
Returns
- DxfLineWeight?
The lineweight, or null.
Exceptions
- ArgumentOutOfRangeException
Thrown when the line is not one of the six, or the rows not of one kind.