|  | This document is archived and information here might be outdated. Recommended version. | 
Provides access to members that control the ArcGlobe Document object.
The IGMxDocument is a starting point for accessing most of the ArcGlobe objects. This interface allows you to manipulate ArcGlobe document specific properties and methods, such as storing a document with relative paths, changing the search tolerance in pixels, saving a preview of the globe document to be viewed in ArcCatalog, loading and saving ArcGlobe animation files (*.aga files), adding a layer in the TOC, and removing all the layers in the TOC of a globe document.
This interface is a starting point for getting a handle to other objects in ArcGlobe desktop application. Almost every ArcGlobe desktop customization uses IGMxDocument one way or another.
| Name | Description | |
|---|---|---|
|  | AddLayer | Adds a layer to the current focus map. | 
|  | ContentsView | The contents view at the specified index. | 
|  | ContentsViewCount | The number of contents views in the document. | 
|  | ContextItem | The item that is selected or was last right-clicked. | 
|  | CurrentContentsView | The current contents view of the document. | 
|  | DefaultColor | The default color for the given type. | 
|  | DelayUpdateContents | Indicates whether to ignore document update notifications. | 
|  | RelativePaths | Indicates if path names are stored relative to the document. | 
|  | RemoveAllLayers | Removes all layers. | 
|  | SavePreview | Indicates if a preview image is saved in the document. | 
|  | Scene | The scene. | 
|  | SearchTolerancePixels | The global search tolerance in pixels for selection. | 
|  | SelectedItem | The selected item in the layer control. | 
|  | SelectedLayer | The selected layer in the layer control. | 
|  | UpdateContents | Notifies the document that the contents have been updated. | 
| Classes | Description | 
|---|---|
| GMxDocument | Provides access to members that control the ArcGlobe document. | 
Obtain a reference to IGMxDocument via IApplication::Document.