This document is archived and information here might be outdated.  Recommended version.


IGlobeViewUtil.GeographicToWindow Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeViewUtil.GeographicToWindow Method

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,
  Long* pWinX,
  Long* 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 Long pWinY [out] pWinY is a parameter of type Long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGlobeViewUtil Interface