ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / GridOptionsEnvironment Class / ClearGridOptions Method

In This Topic
    ClearGridOptions Method (GridOptionsEnvironment)
    In This Topic
    Clears all grid options for all maps in the Project. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void ClearGridOptions()
    Public Sub ClearGridOptions() 
    Requirements

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

    ArcGIS Pro version: 3.7 or higher.
    See Also