View Single Post

  #2 (permalink)  
Old 09-20-2006
jlewis jlewis is offline
Junior Member
Yellow Belt
 
Join Date: Apr 2006
Posts: 18
Hi masty,

You can use the DragBehavior property to switch between pan and zoom.

So, assuming your control is called mapCtl use

mapCtl.ActiveMap.DragBehavior = MapPoint.GeoDragBehavior.geoDragHand (for pan)

and

mapCtl.ActiveMap.DragBehavior = MapPoint.GeoDragBehavior.geoDragBox (for zoom)

Hope this helps...
__________________
John Lewis
Reply With Quote