This document is archived and information here might be outdated. Recommended version. |
Get the window coordinates corresponding to a geographical location, or -1 if not visible.
[Visual Basic .NET]
Public Sub GeographicToWindow ( _
ByVal long_dd As Double, _
ByVal lat_dd As Double, _
ByVal elev_meters As Double, _
ByRef pWinX As Integer, _
ByRef pWinY As Integer _
)
[C#]
public void GeographicToWindow (
double long_dd,
double lat_dd,
double elev_meters,
ref int pWinX,
ref int pWinY
);
[C++]
HRESULT GeographicToWindow(
double long_dd,
double lat_dd,
double elev_meters,
System.Int32* pWinX,
System.Int32* pWinY
);
[C++] Parameters long_dd [in]
long_dd is a parameter of type double lat_dd [in]
lat_dd is a parameter of type double elev_meters [in]
elev_meters is a parameter of type double pWinX [out]
pWinX is a parameter of type int* pWinY [out]
pWinY is a parameter of type int*