This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobe Interface > IARGlobe.SetObserverLocation Method (ArcObjects .NET 10.5 SDK) |
Sets the current observer location.
[Visual Basic .NET] Public Sub SetObserverLocation ( _ ByVal longitude As Double, _ ByVal latitude As Double, _ ByVal elev As Double _ )
[C#] public void SetObserverLocation ( double longitude, double latitude, double elev );
Sets the current observer location. The observer location is described as a point on the ARGlobe�s surface above which the observer is located at a given elevation. The point on the ARGlobe's surface is intersected by an imaginary line from the center of the globe to the observers location. Elevation sets the altitude, relative to sea level, of the observer location.
Observer location latitude and longitude are measured in decimal degrees. Observer location elevation is measured in Kilometers.