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


GMxDocument CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (ArcGlobe)  

GMxDocument CoClass

Provides access to members that control the ArcGlobe document.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

Interfaces

Interfaces Description
IBasicDocument2 (esriArcMapUI) Provides additional 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.
IDataGraphCollection (esriCarto) Provides access to members that control graph collection in map document.
IDocument (esriFramework) Provides access to other objects in the document.
IDocument3DDefaultSymbols (esriArcScene) Provides access to members that control Default 3d symbols for the document.
IDocumentDatasets (esriCatalogUI) Provides access to members that control the document datasets.
IDocumentDefaultSymbols (esriArcMapUI) Provides access to members that control Default Symbols for the document.
IDocumentInfo2 (esriCarto) Provides access to members that control the Document Info.
IDocumentPreview (esriCarto) Provides access to members that control the Document Preview.
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.

Event Interfaces

Interfaces Description
IGMxDocumentEventsDisp (default) Provides access to events fired by ArcGlobe.
IGMxDocumentEvents Provides access to the events fired by ArcGlobe.
IDataGraphCollectionEvents Provides access to events that occur when the collection of graphs in the document changes.

Remarks

The GMxDocument coclass provides a handle to the running ArcGlobe document and its properties.

Working with Events

[Visual Basic 6.0]

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

When implementing IDataGraphCollectionEvents declare variables as follows:

Private WithEvents pBarrierCollection as BarrierCollection