ArcGIS Pro 2.6 API Reference Guide
GetConstantScaleFactor Method

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

Parameters

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

Return Value

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

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

GroundToGridCorrection Class
GroundToGridCorrection Members