Provides access to members that control the ArcGlobe 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. |
| IContentsViewEdit (esriArcMapUI) | Provides access to members that control Contents View Edit. |
| IDocument (esriFramework) | Provides access to other objects in the document. |
| IDocument3DDefaultSymbols (esriArcScene) | Provides access to members that control Default 3d symbols for the document. |
| IDocumentVersion (esriSystem) | Provides access to members that control the document version. |
| IGMxDocument | Provides access to members that control the ArcGlobe Document object. |
| IGMxDocumentInfo | Provides access to members that control the ArcGlobe document information. |
| Interfaces | Description |
|---|---|
| IGMxDocumentEventsDisp (default) | Provides access to events fired by ArcGlobe. |
| IGMxDocumentEvents | Provides access to the events fired by ArcGlobe. |
The GMxDocument coclass provides a handle to the running ArcGlobe document and its properties.
The code below illustrates how a new globe document can be instantiated. The new ArcGlobe document displays, as an empty globe mesh. with no default layers.
' In VBA, the following two lines of code fire up a new globe document.
Dim pDoc As IDocument
Set pDoc = New GMxDocument
' When using stand-alone Visual Basic to fire up a new globe document,
' the globe application can be made visible using the following code
Dim pApp As IApplication
Set pApp = pDoc.Parent
pApp.Visible = True
When working with GMxDocument's default outbound interface in Visual Basic 6 declare variables as follows: Private WithEvents pGMxDocument as GMxDocument
When implementing IGMxDocumentEvents declare variables as follows:Private WithEvents pTOCGMxDisplayView as TOCGMxDisplayView