Method GridColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GridColor(DxfGridLineType, DxfRowType)
Gets the colour of a line of a kind of row (groups 64 to 69), as AutoCAD's GridColor(gridLineType, rowType); by block where the record gives none.
public DxfColor GridColor(DxfGridLineType gridLineType, DxfRowType rowType)
Parameters
gridLineTypeDxfGridLineTypeThe line: one of the six.
rowTypeDxfRowTypeThe kind: one of the three.
Returns
- DxfColor
The colour.
Exceptions
- ArgumentOutOfRangeException
Thrown when the line is not one of the six, or the kind not one of the three.