ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IGridOptionsEnvironment Interface / RemoveGridOptions Method

In This Topic
    RemoveGridOptions Method (IGridOptionsEnvironment)
    In This Topic
    Removes the grid options for the specified map. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Sub RemoveGridOptions( _
       ByVal map As Map _
    ) 
    void RemoveGridOptions( 
       Map map
    )

    Parameters

    map
    Exceptions
    ExceptionDescription
    map cannot be null
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    If no options exist, this method is a no-op
    Requirements

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

    ArcGIS Pro version: 3.7 or higher.
    See Also