This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARUnitConverter Interface > IARUnitConverter.GetLocationAsString Method (ArcObjects .NET 10.5 SDK) |
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 );
Converts the specified x map coordinate, y map coordinate and unit of measure into three separate strings.
2122 800A084A: The specified enum value is invalid