com.esri.arcgis.catalogUI
Interface IDataFrameShapeDialog

All Superinterfaces:
Serializable
All Known Subinterfaces:
IDataFrameShapeDialog2
All Known Implementing Classes:
DataFrameAreaOfInterestDialog, DataFrameClippingDialog, DataFrameFixedExtentDialog, DataFrameShapeDialog

public interface IDataFrameShapeDialog
extends Serializable

Allows for the selection of a shape that is derived from a data frame.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean doModal(String title, IMapFrame pMapFrame, IGraphicsContainer pContainer, int hParentWnd)
          Opens and shows the dialog.
 IGeometry getGeometry()
          Provides access to the shape.
 void setGeometry(IGeometry geometry)
          Provides access to the shape.
 

Method Detail

setGeometry

void setGeometry(IGeometry geometry)
                 throws IOException,
                        AutomationException
Provides access to the shape.

Product Availability

Available with ArcGIS Desktop.

Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

IGeometry getGeometry()
                      throws IOException,
                             AutomationException
Provides access to the shape.

Product Availability

Available with ArcGIS Desktop.

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

doModal

boolean doModal(String title,
                IMapFrame pMapFrame,
                IGraphicsContainer pContainer,
                int hParentWnd)
                throws IOException,
                       AutomationException
Opens and shows the dialog.

Product Availability

Available with ArcGIS Desktop.

Parameters:
title - The title (in)
pMapFrame - A reference to a com.esri.arcgis.carto.IMapFrame (in)
pContainer - A reference to a com.esri.arcgis.carto.IGraphicsContainer (in)
hParentWnd - The hParentWnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.