How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.
- Load a map document into the PageLayoutControl and enable layer drag and drop.
- Re-order the layers in the TOCControl.
- Right-click the PageLayoutControl and drag a rectangle to create a MapFrame.
- Copy a layer into the new map by dragging and dropping a layer.
- Move a layer into the new map by dragging and dropping a layer while pressing the Ctrl key.
AssemblyInfo.cs | Assembly information. |
LayerDragDrop.cs | Form file. |
AssemblyInfo.vb | Assembly information. |
LayerDragDrop.vb | Form file. |
Download the files for all languages
See Also:
TOCControl classITOCControl2 interface
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine |
ArcGIS for Desktop Basic | |
ArcGIS for Desktop Standard | |
ArcGIS for Desktop Advanced |