ArcGIS Pro 2.7 API Reference Guide
GetDirectionOffset Method

ArcGIS.Desktop.Editing Namespace > GroundToGridCorrection Class : GetDirectionOffset Method
A ArcGIS.Core.CIM.CIMGroundToGridCorrection obtained from GetGroundToGridCorrection
Gets the angle in decimal degrees to be used in ground to grid calculations.
Syntax
public static double GetDirectionOffset( 
   CIMGroundToGridCorrection c
)
Public Shared Function GetDirectionOffset( _
   ByVal c As CIMGroundToGridCorrection _
) As Double

Parameters

c
A ArcGIS.Core.CIM.CIMGroundToGridCorrection obtained from GetGroundToGridCorrection

Return Value

The DirectionOffset if UsingDirectionOffset is true, otherwise DefaultDirectionOffset if false.
Remarks
This extension method for the ArcGIS.Core.CIM.CIMGroundToGridCorrection class is identical to: c.UsingDirectionOffset() ? c.Direction : DefaultDirectionOffset This method can be used whether or not UsingDirectionOffset is true and returns the default if false.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GroundToGridCorrection Class
GroundToGridCorrection Members