ArcObjects Library Reference  (Controls)    

ITOCBuddy Interface

Provides access to members that control the TOC buddy.

Product Availability

Available with ArcGIS Engine.

Description

The ITOCBuddy interface is used to get properties related to the ITOCControl::Buddy.

Members

Description
Method GetActiveView Returns the underlying object implementing basic map and ActiveView. This is used to populate the TOC.
Method GetScale Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap.

CoClasses that implement ITOCBuddy

CoClasses and Classes Description
GlobeControl ESRI GlobeControl
MapControl ESRI MapControl
PageLayoutControl ESRI PageLayoutControl
SceneControl ESRI SceneControl
[Visual Basic 6.0]

When querying interface to ITOCBuddy in Visual Basic 6.0 the 'Object' property must be used. This is a known limitation of Visual Basic 6.0.

Dim pTOCBuddy As ITOCBuddy
Set pTOCBuddy = Form1.MapControl1.Object

 


Feedback Send feedback on this page