ArcGIS Pro 2.6 API Reference Guide
UsingElevationMode Method

ArcGIS.Desktop.Editing Namespace > GroundToGridCorrection Class : UsingElevationMode Method
A ArcGIS.Core.CIM.CIMGroundToGridCorrection obtained from GetGroundToGridCorrection
Gets whether a combined scale factor will be used in the ground to grid correction.
Syntax
public static bool UsingElevationMode( 
   CIMGroundToGridCorrection c
)
Public Shared Function UsingElevationMode( _
   ByVal c As CIMGroundToGridCorrection _
) As Boolean

Parameters

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

Return Value

true when c is not null, when c is enabled, and when the ScaleType property is ArcGIS.Core.CIM.GroundToGridScaleType.ComputeUsingElevation; false otherwise.
Remarks
This extension method for the ArcGIS.Core.CIM.CIMGroundToGridCorrection class is identical to: c.UsingScaleFactor() && c.ScaleType == GroundToGridScaleType.ComputeUsingElevation
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

GroundToGridCorrection Class
GroundToGridCorrection Members