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
visibleboolWhether they are drawn.
bordersDxfGridLineTypeThe lines, one or more of the six.
rowTypesDxfRowTypeThe 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.