ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / MapFrame Class / GetGrids Method

In This Topic
    GetGrids Method
    In This Topic
    Get the grids or graticules associated with the map frame.
    Syntax
    public CIMMapGrid[] GetGrids()
    Public Function GetGrids() As CIMMapGrid()

    Return Value

    Returns an array of grids or graticules of type CIMMapGrid.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also