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


IGlobeCamera.GetTargetLatLonAlt 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.GetTargetLatLonAlt Method
ArcGIS Developer Help

IGlobeCamera.GetTargetLatLonAlt Method

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

[Visual Basic .NET]
Public Sub GetTargetLatLonAlt ( _
    ByRef pLatDD As Double, _
    ByRef pLonDD As Double, _
    ByRef pAltKMs As Double _
)
[C#]
public void GetTargetLatLonAlt (
    ref double pLatDD,
    ref double pLonDD,
    ref double pAltKMs
);
[C++]
HRESULT GetTargetLatLonAlt(
  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

Multiple globe viewers Visualizing the camera path while animating