ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / GridOptions Class / IsGridLatticeOn Property

In This Topic
    IsGridLatticeOn Property
    In This Topic
    Gets and sets whether or not the grid lattice is on.
    Syntax
    Public Property IsGridLatticeOn As Boolean
    public bool IsGridLatticeOn {get; set;}
    Remarks
    For 2D maps, IsGridLatticeOn is always true. If an addin sets IsGridLatticeOn to false and attempts to apply the setting via GridOptionsEnvironment.SetGridOptions IsGridLatticeOn will be set back to true if the map is a 2d map. 3d local scenes, however, can toggle IsGridLatticeOn on/off in conjunction with Grid fill
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also