ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.SystemCore Namespace / DirectionUnitFormatConversion Class / ConvertToString Method / ConvertToString(Double,Int32,ConversionDefinition) Method
The value to convert.
Number of decimal digits in the output.
The input and output direction type and units.

In This Topic
    ConvertToString(Double,Int32,ConversionDefinition) Method
    In This Topic
    Converts a double to a string from definition.DirectionTypeIn, definition.DirectionUnitsIn to definition.DirectionTypeOut, definition.DirectionUnitsOut.
    Syntax
    Public Overloads Function ConvertToString( _
       ByVal value As Double, _
       ByVal precision As Integer, _
       ByVal definition As ConversionDefinition _
    ) As String

    Parameters

    value
    The value to convert.
    precision
    Number of decimal digits in the output.
    definition
    The input and output direction type and units.

    Return Value

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

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also