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

ICamera.RollAngle Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IC > ICamera Interface > ICamera.RollAngle Property
ArcGIS Developer Help

ICamera.RollAngle Property

The roll angle in degrees.

[Visual Basic .NET]
Public Property RollAngle As Double
public double RollAngle {get; set;}
HRESULT get_RollAngle(
  System.Double* RollAngle
HRESULT put_RollAngle(
  double RollAngle
RollAngle [out, retval]

RollAngle is a parameter of type double* RollAngle [in]
RollAngle is a parameter of type double

Product Availability

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


The RollAngle represents the angle, in degrees, of the camera about the line of sight between the observer and target. Angles will be reported in the range >=0 and <360. Angles can be given outside of this range but will be 'wrapped' to the equivalent value in the 0 to 360 range. For example -1 is the equivalent of 359 and 361 is the equivalent of 1.

A RollAngle of 0.0, the default, is straight up relative to the Z axis in the scene. Increasing the RollAngle will tilt the camera clockwise about the line of sight.

See Also

ICamera Interface

.NET Samples

Custom scene navigation commands Effects in the GlobeControl Navigating around the GlobeControl Globe Fly tool