ESRI.ArcGIS.Mobile
ToWorldGeographicReference Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.SpatialReferences Namespace > SpatialReference Class : ToWorldGeographicReference Method

numOfDigits
The number of digits for minutes in numeric portion of string (2 - 9). Eg, if numOfDigits is 2, this is 2 for the longitude portion and 2 for the latitude portion, so 4 total length of numeric portion.
rounding
If true, round to the nearest whole magnitude specified by numOfDigits
coordinates
Converts a list of coordinates into World Geographic Reference System strings. Each string is 22 characters (4 letters plus 2 sets of 9 numbers). Default should be 12 characters (4 letters, 8 numbers).

Syntax

Visual Basic (Declaration) 
Public Function ToWorldGeographicReference( _
   ByVal numOfDigits As Integer, _
   ByVal rounding As Boolean, _
   ByVal coordinates As IList(Of Coordinate) _
) As IList(Of String)
C# 
public IList<string> ToWorldGeographicReference( 
   int numOfDigits,
   bool rounding,
   IList<Coordinate> coordinates
)

Parameters

numOfDigits
The number of digits for minutes in numeric portion of string (2 - 9). Eg, if numOfDigits is 2, this is 2 for the longitude portion and 2 for the latitude portion, so 4 total length of numeric portion.
rounding
If true, round to the nearest whole magnitude specified by numOfDigits
coordinates

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also