ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.SystemCore Namespace / DirectionUnitFormatConversion Class / ConvertToString Method / ConvertToString(String,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(String,Int32,ConversionDefinition) Method
    In This Topic
    Converts a string to another string from definition.DirectionTypeIn, definition.DirectionUnitsIn to definition.DirectionTypeOut, definition.DirectionUnitsOut.
    Syntax
    Public Overloads Function ConvertToString( _
       ByVal value As String, _
       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.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also