com.esri.arcgis.arcmapui
Interface INewDocumentDialog

All Superinterfaces:
Serializable
All Known Implementing Classes:
NewDocumentDialog

public interface INewDocumentDialog
extends Serializable

Provides access to members that control the new document dialog.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean doModal(int parentHWnd)
          Shows the new document dialog.
 IWorkspaceName getDatabase()
          The database for the document.
 String getFilePath()
          The selected document.
 

Method Detail

doModal

boolean doModal(int parentHWnd)
                throws IOException,
                       AutomationException
Shows the new document dialog.

Product Availability

Available with ArcGIS Desktop.

Parameters:
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The pOk
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFilePath

String getFilePath()
                   throws IOException,
                          AutomationException
The selected document.

Product Availability

Available with ArcGIS Desktop.

Returns:
The fileName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatabase

IWorkspaceName getDatabase()
                           throws IOException,
                                  AutomationException
The database for the document.

Product Availability

Available with ArcGIS Desktop.

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