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


ISceneHookHelper.Scene Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

ISceneHookHelper.Scene Property

Scene of hooked control or application.

[Visual Basic .NET]
Public ReadOnly Property Scene As IScene
[C#]
public IScene Scene {get;}
[C++]
HRESULT get_Scene(
  IScene** ppScene
);
[C++]

Parameters ppScene [out, retval]
ppScene is a parameter of type IScene

Product Availability

Available with ArcGIS Engine.

Description

The IScene object of the hook passed to the ICommand::OnCreate event. The Scene is returned regardless of whether the hook is a SceneControl, ToolbarControl (with a 'buddy' SceneControl) or ArcScene.

Errors Returned

1059 800a0423: The supplied hook is not a valid object

See Also

ISceneHookHelper Interface

.NET Related Topics

3DAnalyst