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


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

IGlobeCamera.SetTargetLatLonAlt Method

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

[Visual Basic .NET]
Public Sub SetTargetLatLonAlt ( _
    ByVal latDD As Double, _
    ByVal lonDD As Double, _
    ByVal altKMs As Double _
)
[C#]
public void SetTargetLatLonAlt (
    double latDD,
    double lonDD,
    double altKMs
);
[C++]
HRESULT SetTargetLatLonAlt(
  double latDD,
  double lonDD,
  double altKMs
);
[C++]
Parameters
latDD [in]

latDD is a parameter of type double lonDD [in]
lonDD is a parameter of type double altKMs [in]
altKMs is a parameter of type double

Product Availability

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

Remarks

Setting the target altitude has no effect when orientation mode is set to global as the target location must remain fixed in the center of the globe when in that mode.

See Also

IGlobeCamera Interface

.NET Samples

3D dynamic element tracking Globe Fly tool Multiple globe viewers Visualizing the camera path while animating