com.esri.arcgis.catalogUI
Interface IGxGeographicView

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

public interface IGxGeographicView
extends Serializable

Provides access to members that control the GxGeographicView.

Superseded By

IGxGeographicView2

Description

The IGxGeographicView 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.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 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.

Remarks

The DisplayedLayer property is set to nothing when the selected object can not be previewed in the GxGeographicView.

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.