com.esri.arcgis.cartoUI
Interface IDataFrameShapeDialog

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

public interface IDataFrameShapeDialog
extends Serializable

Select 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)
          Show the dialog.
 IGeometry getGeometry()
          The shape.
 void setGeometry(IGeometry geometry)
          The shape.
 

Method Detail

setGeometry

void setGeometry(IGeometry geometry)
                 throws IOException,
                        AutomationException
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
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
Show 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.