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


ISceneControlEvents.OnSceneReplaced Event (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

ISceneControlEvents.OnSceneReplaced Event

Fires after the Scene contained by the SceneControl has been replaced.

[Visual Basic .NET]
Public Event OnSceneReplaced As OnSceneReplacedEventHandler
[C#]
public event OnSceneReplacedEventHandler OnSceneReplaced
[C++]
HRESULT OnSceneReplaced(
  VARIANT newScene
);
[C++]

Parameters newScene newScene is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine.

Description

The OnSceneReplaced event is triggered whenever the ISceneControl::LoadSxFile method is used. Use this event to keep in synch with the current ISceneControl::Scene

See Also

ISceneControlEvents Interface