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

points
A IEnumerable of MapPoint representing the locations to be converted. Each MapPoint must share the same SpatialReference.
numberOfDigits
A System.Int32 indicating the precision of each half of the numeric portion of the returned coordinate. Must not be 0.
Converts a collection of MapPoint geometries to a collection of coordinate notation strings in the Degrees Minutes Seconds (DMS) format.

Syntax

Visual Basic (Declaration) 
Public Shared Function MapPointsToDegreesMinutesSeconds( _
   ByVal points As IEnumerable(Of MapPoint), _
   ByVal numberOfDigits As Integer _
) As IList(Of String)
C# 
public static IList<string> MapPointsToDegreesMinutesSeconds( 
   IEnumerable<MapPoint> points,
   int numberOfDigits
)

Parameters

points
A IEnumerable of MapPoint representing the locations to be converted. Each MapPoint must share the same SpatialReference.
numberOfDigits
A System.Int32 indicating the precision of each half of the numeric portion of the returned coordinate. Must not be 0.

Return Value

A IList of System.String of coordinate notations representing the locations defined by the MapPoints.

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.