ArcGIS Runtime SDK for WPF - Library Reference
MapPointToUtm Method
See Also 
ESRI.ArcGIS.Client.Geometry Namespace > CoordinateConversion Class : MapPointToUtm Method

point
A MapPoint representing the location to be converted.
conversionMode
A UtmConversionMode value determining whether North or South Hemisphere indicators should be added to the returned coordinate string.
addSpaces
true if spaces should be added to the returned USNG coordinate notation; otherwise false.
Converts a MapPoint geometry to a coordinate notation string in the Universal Transverse Mercator (UTM) format.

Syntax

Visual Basic (Declaration) 
Public Shared Function MapPointToUtm( _
   ByVal point As MapPoint, _
   ByVal conversionMode As UtmConversionMode, _
   ByVal addSpaces As Boolean _
) As String
C# 
public static string MapPointToUtm( 
   MapPoint point,
   UtmConversionMode conversionMode,
   bool addSpaces
)

Parameters

point
A MapPoint representing the location to be converted.
conversionMode
A UtmConversionMode value determining whether North or South Hemisphere indicators should be added to the returned coordinate string.
addSpaces
true if spaces should be added to the returned USNG coordinate notation; otherwise false.

Return Value

A System.String in the requested coordinate notation format representing the location defined by the MapPoint.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.