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


IGlobeCamera.GetObserverLatLonAlt Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeCamera Interface > IGlobeCamera.GetObserverLatLonAlt Method
ArcGIS Developer Help

IGlobeCamera.GetObserverLatLonAlt Method

Set the observer location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.

[Visual Basic .NET]
Public Sub GetObserverLatLonAlt ( _
    ByRef pLatDD As Double, _
    ByRef pLonDD As Double, _
    ByRef pAltKMs As Double _
)
[C#]
public void GetObserverLatLonAlt (
    ref double pLatDD,
    ref double pLonDD,
    ref double pAltKMs
);
[C++]
HRESULT GetObserverLatLonAlt(
  System.Double* pLatDD,
  System.Double* pLonDD,
  System.Double* pAltKMs
);
[C++]
Parameters
pLatDD [out]

pLatDD is a parameter of type double* pLonDD [out]
pLonDD is a parameter of type double* pAltKMs [out]
pAltKMs is a parameter of type double*

Product Availability

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

See Also

IGlobeCamera Interface

.NET Samples

Effects in the GlobeControl Multiple globe viewers Visualizing the camera path while animating