Table of Contents

Property GridMajor

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GridMajor

Gets or sets how many minor lines of the grid go to a major one (group 61), as AutoCAD's GridMajor and GRIDMAJOR; 5 where the record gives none, as AutoCAD 2021 reads such a drawing. The group came with R2007 (AC1021).

public int GridMajor { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

Thrown when the value set is not 1 to 100.

InvalidOperationException

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