Table of Contents

Property GridMajor

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GridMajor

Gets or sets how many lines of the grid one major line is drawn for (group 61, from R2007), as AutoCAD's GridMajor; 5 where the record gives none.

public short GridMajor { get; set; }

Property Value

short

Exceptions

ArgumentOutOfRangeException

Thrown when the number set is not from 1 to 100.

InvalidOperationException

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