This document is archived and information here might be outdated.  Recommended version.


IARUnitConverter.GetLongLatAsString Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARUnitConverter Interface > IARUnitConverter.GetLongLatAsString Method
ArcGIS Developer Help

IARUnitConverter.GetLongLatAsString Method

Converts the specified degree coordinates and units to strings.

[Visual Basic .NET]
Public Sub GetLongLatAsString ( _
    ByVal longitude As Double, _
    ByVal latitude As Double, _
    ByVal displayUnits As esriARUnits, _
    ByRef sLongitude As String, _
    ByRef sLatitude As String, _
    ByRef sUnits As String _
)
[C#]
public void GetLongLatAsString (
    double longitude,
    double latitude,
    esriARUnits displayUnits,
    ref string sLongitude,
    ref string sLatitude,
    ref string sUnits
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Converts the specified x coordinate, y coordinate and unit of measure into three separate strings. 

See Also

IARUnitConverter Interface