ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IGridOptionsEnvironment Interface / GetGridOptions Method / GetGridOptions(Map) Method
The input map

In This Topic
    GetGridOptions(Map) Method
    In This Topic
    Get the grid options for the given map. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Overloads Function GetGridOptions( _
       ByVal map As Map _
    ) As GridOptions
    GridOptions GetGridOptions( 
       Map map
    )

    Parameters

    map
    The input map

    Return Value

    The grid options
    Exceptions
    ExceptionDescription
    map cannot be null
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

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

    ArcGIS Pro version: 3.7 or higher.
    See Also