ArcGIS Pro 2.6 API Reference Guide
ConvertToDouble(Double,ConversionDefinition) Method

ArcGIS.Core.SystemCore Namespace > DirectionUnitFormatConversion Class > ConvertToDouble Method : ConvertToDouble(Double,ConversionDefinition) Method
The value to convert.
The input and output direction type and units.
Converts a double to another double from definition.DirectionTypeIn, definition.DirectionUnitsIn to definition.DirectionTypeOut, definition.DirectionUnitsOut.
Syntax
public double ConvertToDouble( 
   double value,
   ConversionDefinition definition
)
Public Overloads Function ConvertToDouble( _
   ByVal value As Double, _
   ByVal definition As ConversionDefinition _
) As Double

Parameters

value
The value to convert.
definition
The input and output direction type and units.

Return Value

A double.
Exceptions
ExceptionDescription
A double cannot be used to represent DegreesMinutesSeconds.
A double cannot be used to represent QuadrantBearing direction type.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

DirectionUnitFormatConversion Class
DirectionUnitFormatConversion Members
Overload List