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

IGlobeHookHelper.ActiveViewer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IG > IGlobeHookHelper Interface > IGlobeHookHelper.ActiveViewer Property
ArcGIS Developer Help

IGlobeHookHelper.ActiveViewer Property

Active scene viewer of hooked control or application.

[Visual Basic .NET]
Public ReadOnly Property ActiveViewer As ISceneViewer
public ISceneViewer ActiveViewer {get;}
HRESULT get_ActiveViewer(
  ISceneViewer** ppSceneViewer
ppSceneViewer [out, retval]

ppSceneViewer is a parameter of type ISceneViewer**

Product Availability

Available with ArcGIS Engine.


The ISceneViewer interface of the IGlobeViewer object of the hook passed to the ICommand::OnCreate event. The SceneViewer is returned regardless of whether the hook is a GlobeControl, ToolbarControl (with a 'buddy' GlobeControl) or ArcGlobe.

Errors Returned

1060 800A0424: The supplied hook is not valid.

See Also

IGlobeHookHelper Interface