This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control Contents View Edit.
Used to add or remove tabs of the Table of Contents (TOC) in ArcMap, ArcScene, or ArcGlobe.
Name | Description | |
---|---|---|
AddContentsView | Adds a contents view object to the TOC. | |
ClearContentsViews | Removes all current contents views. |
Classes | Description |
---|---|
GMxDocument (esriArcGlobe) | Provides access to members that control the ArcGlobe document. |
MxDocument | Esri Mx Document. |
When tabs are cleared, they are removed from the TOC and also they do not appear in the TOC options dialog (in ArcMap and ArcGlobe: Tools > Options > Table of Contents). To simply show/hide tabs, use IContentsView::Visible. When IContentsViewEdit is used, the tab state is saved in the document template (normal.mxt or normal.sxt). Deleting the document template returns the tab state to the default.