Provides access to members that control the ArcScene document.
| Interfaces | Description |
|---|---|
| IBasicDocument (esriArcMapUI) | Provides access to members that control the Basic Document. |
| IBasicDocumentDefaultSymbols (esriArcMapUI) | Provides access to members that control Default basic symbols for the document. |
| IDocument (esriFramework) | Provides access to other objects in the document. |
| IDocument3DDefaultSymbols | Provides access to members that control Default 3d symbols for the document. |
| IDocumentVersion (esriSystem) | Provides access to members that control the document version. |
| ISxDocument | Provides access to members that control the ArcScene Document object. |
| ISxDocumentInfo | Provides access to members that control the ArcScene document information. |
| Interfaces | Description |
|---|---|
| ISxDocumentEventsDisp (default) | Provides access to events fired by ArcScene. |
| ISxDocumentEvents | Provides access to the events fired by ArcScene. |
SxDocument is analogous to MxDocument and provides a handle to the running ArcScene document.
The code below illustrates how a new scene document can be instantiated.
' In VBA, the following two lines of code fire up a new scene document.
Dim pDoc As IDocument
Set pDoc = New SxDocument
' When using stand-alone Visual Basic to fire up a new scene document,
' the ArcScene application can be made visible using the following code
Dim pApp As IApplication
Set pApp = pDoc.Parent
pApp.Visible = True
When working with SxDocument's default outbound interface in Visual Basic 6 declare variables as follows: Private WithEvents pSxDocument as SxDocument
When implementing ISxDocumentEvents declare variables as follows:Private WithEvents pSxDocument as SxDocument