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


ICamera.Azimuth Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (3DAnalyst)  

ICamera.Azimuth Property

The polar azimuth of the observer relative to the target. When changed, the observer moves.

[Visual Basic .NET]
Public Property Azimuth As Double
[C#]
public double Azimuth {get; set;}
[C++]
HRESULT get_Azimuth(
  System.Double* Azimuth
);
[C++]
HRESULT put_Azimuth(
  double Azimuth
);
[C++]

Parameters Azimuth [out, retval]
Azimuth is a parameter of type double* Azimuth [in]
Azimuth is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Remarks

The azimuth represents the compass direction, in degrees, of the observer relative to the target. At 0 degrees the observer is due north of the target, 90 degrees due east, 180 degrees due south, and 270 degrees due west.

Values exceeding the range 0-360 will be reset to the equivalent value that falls in this range (e.g. 365 gets reset to 5, -5 gets reset to 355).

See Also

ICamera Interface

.NET Snippets

Toggle Between Surface and Global Navigation Mode

.NET Samples

Navigating around the GlobeControl (Code Files: Navigation)