|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITOCBuddy
Provides access to members that control the TOC buddy.
The ITOCBuddy interface is used to get properties related to the ITOCControl::Buddy.
Method Summary | |
---|---|
IActiveView |
getActiveView()
Returns the underlying object implementing basic map and ActiveView. |
double |
getScale(IBasicMap pBasicMap)
Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap. |
Method Detail |
---|
IActiveView getActiveView() throws IOException, AutomationException
The GetActiveView method returns the IActiveView interface of the ITOCControl::Buddy. This will either be a Map, PageLayout, Scene or Globe.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getScale(IBasicMap pBasicMap) throws IOException, AutomationException
The GetScale method returns scale of the supplied Map or Scene. If the scale is unknown the GetScale method returns 0.0.
pBasicMap
- A reference to a com.esri.arcgis.carto.IBasicMap (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 |