ESRI.ArcGIS.Mobile
FromGps(Double,Double,Double,Double) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.SpatialReferences Namespace > SpatialReference Class > FromGps Method : FromGps(Double,Double,Double,Double) Method

longitude
Longitude
latitude
Latitude
x
X coordinate storing transformed value
y
Y coordinate storing transformed value
Transforms a Gps coordinate to a coordinate based on this SpatialReference.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub FromGps( _
   ByVal longitude As Double, _
   ByVal latitude As Double, _
   ByRef x As Double, _
   ByRef y As Double _
) 
C# 
public void FromGps( 
   double longitude,
   double latitude,
   ref double x,
   ref double y
)

Parameters

longitude
Longitude
latitude
Latitude
x
X coordinate storing transformed value
y
Y coordinate storing transformed value

Exceptions

ExceptionDescription
ArgumentNullExceptionNull coordinate.
InvalidOperationExceptionInvalid coordinate system.

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