![]() |
This document is archived and information here might be outdated. Recommended version. |
| ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Classes > C > ControlsMapRoamTool CoClass (ArcObjects .NET 10.4 SDK) |
Click the mouse left button to start or finish roaming, move the mouse to change roaming direction and speed.
The CLSID of this command is: {FF1B7D16-F4DB-4D1C-AC7B-AEC730C0ED17}.
This command works with the ToolbarControl, PageLayoutControl, MapControl and ArcMap.
This command requires that the IDynamicMap::DynamicMapEnabled property is True.
| Interfaces | Description |
|---|---|
| ICommand (esriSystemUI) | Provides access to members that define a COM command. |
| IDynamicMapEvents (esriDisplay) | Provides access to events that occur when the state of the dynamic display changes. |
| ITool (esriSystemUI) | Provides access to members that define a tool. |
IDynamicMap dynamicMap=AxMapControl1.Map as IDynamicMap;
dynamicMap.DynamicMapEnabled=true;
DimdynamicMapAsIDynamicMap dynamicMap=AxMapControl1.Map dynamicMap.DynamicMapEnabled=True