Table of Contents

Property GridDisplay

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GridDisplay

Gets or sets how the grid is shown (group 60), as AutoCAD's GRIDDISPLAY: 1 beyond the limits, 2 adaptive, 4 subdivided below its spacing when zoomed in, 8 following the dynamic UCS; 3 where the record gives none, as AutoCAD 2021 reads such a drawing. The group came with R2007 (AC1021).

public int GridDisplay { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

Thrown when the value set is not 0 to 15.

InvalidOperationException

Thrown when set in a file older than R2007, or the viewport is erased.