Drag and drop layers


Purpose This sample demonstrates how to enable the drag and drop capabilities of the TOC bean. This sample also creates an event listener for the onMouseDown event to create new map frames in the page layout.

How to use

See How to use ArcGIS samples for help running the sample.

  1. Start the DragAndDropLayers application.
  2. Check the Layer Drag and Drop box. The drag and drop capability is enabled.
  3. Right-click and drag the page layout. New map frames are created.





Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView
ArcEditor
ArcInfo