|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContentsViewEdit
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.
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.
Method Summary | |
---|---|
void |
addContentsView(IContentsView contentsView)
Adds a contents view object to the TOC. |
void |
clearContentsViews()
Removes all current contents views. |
Method Detail |
---|
void clearContentsViews() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addContentsView(IContentsView contentsView) throws IOException, AutomationException
contentsView
- A reference to a com.esri.arcgis.arcmapui.IContentsView (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |