This method converts a given coordinate from one coordinate system to another.
JavaScript |
|
Reproject( From, To, X, Y) |
C# |
|
ICoord2D Reproject( ICoordinateSystem65 From, ICoordinateSystem65 To, double X, double Y) |
C++ |
|
HRESULT Reproject( ICoordinateSystem65 * From, ICoordinateSystem65 * To, double X, double Y, ICoord2D ** pVal ) |
Parameters
From
The coordinate system in which the coordinate is given.
To
The coordinate system to which you want to convert the coordinate.
X
X-coordinate in coordinate system units.
Y
Y-coordinate in coordinate system units.
Return Value
pVal
An ICoord2D representing the converted coordinates.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.