This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISceneControlEvents Interface > ISceneControlEvents.OnSceneReplaced Event (ArcObjects .NET 10.5 SDK) |
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
The OnSceneReplaced event is triggered whenever the ISceneControl::LoadSxFile method is used. Use this event to keep in synch with the current ISceneControl::Scene.