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

coordinate
A System.String representing the coordinate notation to be converted.
spatialReference
A SpatialReference representing the geographic or projected coordinate system of the returned MapPoint.
conversionMode
A GarsConversionMode value determining whether the returned MapPoint will represent the LowerLeft or Center of the cell, quadrant or area.
Converts a coordinate notation string in the Global Area Reference System (GARS) format to a MapPoint geometry with the specified SpatialReference.

Syntax

Visual Basic (Declaration) 
Public Shared Function GarsToMapPoint( _
   ByVal coordinate As String, _
   ByVal spatialReference As SpatialReference, _
   ByVal conversionMode As GarsConversionMode _
) As MapPoint
C# 
public static MapPoint GarsToMapPoint( 
   string coordinate,
   SpatialReference spatialReference,
   GarsConversionMode conversionMode
)

Parameters

coordinate
A System.String representing the coordinate notation to be converted.
spatialReference
A SpatialReference representing the geographic or projected coordinate system of the returned MapPoint.
conversionMode
A GarsConversionMode value determining whether the returned MapPoint will represent the LowerLeft or Center of the cell, quadrant or area.

Return Value

A MapPoint geometry representing the location defined by the coordinates.

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.