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


ICamera.ViewFieldAngle Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

ICamera.ViewFieldAngle Property

The view-field angle in degrees.

[Visual Basic .NET]
Public Property ViewFieldAngle As Double
[C#]
public double ViewFieldAngle {get; set;}
[C++]
HRESULT get_ViewFieldAngle(
  double* ViewFieldAngle
);
[C++]
HRESULT put_ViewFieldAngle(
  double ViewFieldAngle
);
[C++]

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

Product Availability

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

Remarks

Increasing the ViewFieldAngle creates the appearance of zooming out even though the observer position is unchanged. Wide angles enable the observer to see a large portion of the scene when positioned inside the data area. A wide angle also presents a distorted view, similar to that of a fish-eye lens.

Decreasing the ViewFieldAngle creates the appearance of zooming in even though the observer position is unchanged.

The default ViewFieldAngle is 55 degrees.

See Also

ICamera Interface

.NET Samples

Navigating around the GlobeControl (Code Files: Navigation)