com.esri.arcgis.arcmapui
Interface IMxDocumentDropTarget

All Superinterfaces:
Serializable
All Known Implementing Classes:
DataGraphMxDocumentDropTarget, IMxDocumentDropTargetProxy

public interface IMxDocumentDropTarget
extends Serializable

Provides access to members that control the MxDocument Drop Target.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean canCreate(IMxDocument document, IName targetName)
          Indicates if targetName can be added to the Document.
 void create(IMxDocument document, IName targetName)
          Adds targetName to the current Document.
 

Method Detail

canCreate

boolean canCreate(IMxDocument document,
                  IName targetName)
                  throws IOException,
                         AutomationException
Indicates if targetName can be added to the Document.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
document - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
targetName - A reference to a com.esri.arcgis.system.IName (in)
Returns:
The canCreate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

void create(IMxDocument document,
            IName targetName)
            throws IOException,
                   AutomationException
Adds targetName to the current Document.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
document - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
targetName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.