com.esri.arcgis.catalogUI
Interface IGxGeographicView2

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxGeographicView, GxMSDFileView, IGxGeographicView2Proxy

public interface IGxGeographicView2
extends Serializable

Provides access to more members that control the GxGeographicView.

Description

The IGxGeographicView2 interface is implemented by the GxGeographicView object. It provides access to the map and screen display that preview the currently selected object. Through this interface, the developer can retrieve the layer being displayed, then use the map and screen display properties to show additional information within the view.

Remarks

The IGxGeographicView2 interface provides access to the IActiveView of the map being used to preview the current selection.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IActiveView getActiveView()
          The active view object(either map or page layout).
 ILayer getDisplayedLayer()
          The layer object currently being displayed.
 IMap getMap()
          The map object that is used to draw the layer.
 IScreenDisplay getMapDisplay()
          The display object that is used to draw the layer.
 

Method Detail

getDisplayedLayer

ILayer getDisplayedLayer()
                         throws IOException,
                                AutomationException
The layer object currently being displayed.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapDisplay

IScreenDisplay getMapDisplay()
                             throws IOException,
                                    AutomationException
The display object that is used to draw the layer.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.display.IScreenDisplay
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMap

IMap getMap()
            throws IOException,
                   AutomationException
The map object that is used to draw the layer.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.carto.IMap
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveView

IActiveView getActiveView()
                          throws IOException,
                                 AutomationException
The active view object(either map or page layout).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.carto.IActiveView
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.