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

GetGrids Method
Get the grids or graticules associated with the map frame.
Syntax
public CIMMapGrid[] GetGrids()

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