ArcGIS Pro 3.0 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 static Task<CIMGroundToGridCorrection> GetGroundToGridCorrection( 
       Map map
    )
    Public Shared Function GetGroundToGridCorrection( _
       ByVal map As Map _
    ) As Task(Of CIMGroundToGridCorrection)

    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, Windows 10, Windows 8.1

    See Also