Method SetGridColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetGridColor(DxfColor, DxfGridLineType, DxfRowType)
Sets the colour of lines of kinds of row, as AutoCAD's SetGridColor(color, borders, rowTypes).
public void SetGridColor(DxfColor color, DxfGridLineType borders, DxfRowType rowTypes)
Parameters
colorDxfColorThe colour: of the index, by layer or by block.
bordersDxfGridLineTypeThe lines, one or more of the six.
rowTypesDxfRowTypeThe kinds, one or more of the three.
Exceptions
- ArgumentNullException
Thrown when the colour is null.
- ArgumentException
Thrown when the colour is a true colour or none.
- ArgumentOutOfRangeException
Thrown when the lines or the kinds are none or hold a flag none of their own has.
- InvalidOperationException
Thrown when the style is erased.