ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing Namespace / GroundToGridCorrection Class / GetGroundToGridCorrection Method
The ArcGIS.Desktop.Mapping.Map that has the required GroundToGridCorrection.

In This Topic
    GetGroundToGridCorrection Method
    In This Topic
    Gets the GroundToGridCorrection for the given map.
    Syntax
    Public Shared Function GetGroundToGridCorrection( _
       ByVal map As Map _
    ) As Task(Of CIMGroundToGridCorrection)
    public static Task<CIMGroundToGridCorrection> GetGroundToGridCorrection( 
       Map map
    )

    Parameters

    map
    The ArcGIS.Desktop.Mapping.Map that has the required GroundToGridCorrection.

    Return Value

    A Task returning a ArcGIS.Core.CIM.CIMGroundToGridCorrection for the given map, or null if there is currently none.
    Exceptions
    ExceptionDescription
    map is null.
    Remarks
    This extension method of the ArcGIS.Desktop.Mapping.Map class will automatically switch to the correct thread for the result.
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also