Table of Contents

Method SetGridVisibility

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetGridVisibility(bool, DxfGridLineType, DxfRowType)

Sets whether lines of kinds of row are drawn, as AutoCAD's SetGridVisibility(visible, borders, rowTypes).

public void SetGridVisibility(bool visible, DxfGridLineType borders, DxfRowType rowTypes)

Parameters

visible bool

Whether they are drawn.

borders DxfGridLineType

The lines, one or more of the six.

rowTypes DxfRowType

The kinds, one or more of the three.

Exceptions

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.