Table of Contents

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

color DxfColor

The colour: of the index, by layer or by block.

borders DxfGridLineType

The lines, one or more of the six.

rowTypes DxfRowType

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