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


IARUnitConverter.GetLocationAsString 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.GetLocationAsString Method
ArcGIS Developer Help

IARUnitConverter.GetLocationAsString Method

Converts the specified coordinates and units to strings.

[Visual Basic .NET]
Public Sub GetLocationAsString ( _
    ByVal pMap As ARMap, _
    ByVal xCoord As Double, _
    ByVal yCoord As Double, _
    ByVal displayUnits As esriARUnits, _
    ByRef sXLocation As String, _
    ByRef sYLocation As String, _
    ByRef sUnits As String _
)
[C#]
public void GetLocationAsString (
    ARMap pMap,
    double xCoord,
    double yCoord,
    esriARUnits displayUnits,
    ref string sXLocation,
    ref string sYLocation,
    ref string sUnits
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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

Errors Returned

2122 800A084A: The specified enum value is invalid 

See Also

IARUnitConverter Interface