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


IARGlobe.SetObserverLocation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobe Interface > IARGlobe.SetObserverLocation Method
ArcGIS Developer Help

IARGlobe.SetObserverLocation Method

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
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

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.

Remarks

Observer location latitude and longitude are measured in decimal degrees.  Observer location elevation is measured in Kilometers.

See Also

IARGlobe Interface