ArcObjects Library Reference (Controls)  

ControlsMapRoamTool CoClass

Click the mouse left button to start or finish roaming, move the mouse to change roaming direction and speed.

Product Availability

Available with ArcGIS Engine.


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;
[Visual Basic .NET]

Dim dynamicMap As IDynamicMap
dynamicMap = AxMapControl1.Map
dynamicMap.DynamicMapEnabled = True