This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeCamera Interface > IGlobeCamera.SetTargetLatLonAlt Method (ArcObjects .NET 10.5 SDK) |
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
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.