ArcGIS Pro 2.7 API Reference Guide
GetGroundToGridCorrection Method

ArcGIS.Desktop.Editing Namespace > GroundToGridCorrection Class : GetGroundToGridCorrection Method
The ArcGIS.Desktop.Mapping.Map that has the required GroundToGridCorrection.
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 10, Windows 8.1

See Also

Reference

GroundToGridCorrection Class
GroundToGridCorrection Members