ArcGIS Pro 3.7 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 Function GetGrids() As CIMMapGrid()
    public CIMMapGrid[] GetGrids()

    Return Value

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

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

    ArcGIS Pro version: 3.4 or higher.
    See Also