ArcGIS Pro 2.9 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 11, Windows 10, Windows 8.1

See Also

Reference

GroundToGridCorrection Class
GroundToGridCorrection Members