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


IViewers3D.ActiveViewer Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (3DAnalyst)  

IViewers3D.ActiveViewer Property

The active viewer.

[Visual Basic .NET]
Public Property ActiveViewer As ISceneViewer
[C#]
public ISceneViewer ActiveViewer {get; set;}
[C++]
HRESULT get_ActiveViewer(
  ISceneViewer* ppViewer
);
[C++]
HRESULT putref_ActiveViewer(
  ISceneViewer** ppViewer
);
[C++]

Parameters ppViewer [in]
ppViewer is a parameter of type ISceneViewer* ppViewer [out, retval]
ppViewer is a parameter of type ISceneViewer**

Product Availability

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

See Also

IViewers3D Interface

.NET Samples

Visualizing the camera path while animating (Code Files: VisualizeCameraPath) | Globe Fly tool (Code Files: Fly) | Set sun position tool (Code Files: SunPositionTool) | Multiple globe viewers (Code Files: MultipleGlobeViewers) | Creating a toolbar of globe tools (Code Files: GeographicCoordinates)