This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Classes > S > SceneControl CoClass (ArcObjects .NET 10.5 SDK) |
Esri SceneControl
The SceneControl encapsulates the SceneViewer class and provides additional properties, methods and events for: managing the general appearance; loading scene documents into the control; managing the scene, scene graph and camera properties, and setting the current tool.
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
Interfaces | Description |
---|---|
IConnectionPointContainer | Supports connection points for connectable objects. |
IPersist | Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile. |
IPersistStreamInit | Supports initialized stream-based persistence, regardless of whatever else the object does. |
ISceneControl | Provides access to members that control the SceneControl. |
ISceneControlDefault | Provides access to members that control the SceneControl. |
ISupportErrorInfo | Indicates whether a specific interface can return Automation error objects. |
ITOCBuddy | Provides access to members that control the TOC buddy. |
IToolbarBuddy | Provides access to members that control the ToolbarControl buddy. |
Interfaces | Description |
---|---|
ISceneControlEvents (default) | Provides access to events that occur with user interaction to the SceneControl. |
ITOCBuddyEvents | Provides access to events that notify the TOC of a change. |
There is no need to declare the SceneControl's outbound interface as described below in most development environments, because the interface is automaticlly implemented.
When working with SceneControl's default outbound interface in Visual Basic 6 declare variables as follows:
Private WithEvents pSceneControl as SceneControl
When implementing ITOCBuddyEvents declare variables as follows:
Private WithEvents pMapControl as MapControl