ArcObjects Library Reference  (PublisherControls)    

IARUnitConverter.GetLocationAsString Method

Converts the specified coordinates and units to strings.

[Visual Basic 6.0]
Sub GetLocationAsString(
    ByVal pMap As IARMap, _
    ByVal xCoord As Double, _
    ByVal yCoord As Double, _
    ByVal displayUnits As esriARUnits, _
    sXLocation As String, _
    sYLocation As String, _
    sUnits As String _
) As Empty
[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

 


Feedback Send feedback on this page