Utility.GetLinearUnitsConversionFactor Method

Gets the scale factor to use for the conversion between linearUnitsTypes
Public Shared Function GetLinearUnitsConversionFactor( _ 
ByVal fromUnits As linearUnitsType, _ 
ByVal toUnits As linearUnitsType
) As Double
This language is not supported or no code example is available.
public static double GetLinearUnitsConversionFactor( 
linearUnitsType fromUnits
linearUnitsType toUnits 
)
This language is not supported or no code example is available.

Parameters

fromUnits
linearUnitsType

Initial unit

toUnits
linearUnitsType

Target unit

Return Value

double

The conversion factor

.NET Framework

Supported in: 4.8

In this article

Definition