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

In This Topic
    SnapToGridEnabled Property
    In This Topic
    Gets and sets whether the cursor/mouse pointer will snap to grid lines and grid intersections based on the active snap settings
    Syntax
    Public Property SnapToGridEnabled As Boolean
    public bool SnapToGridEnabled {get; set;}
    Requirements

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

    ArcGIS Pro version: 3.7 or higher.
    See Also