AllowEdgePan property
Returns or sets whether edge-panning is allowed. Read/write Boolean.
Applies to
Objects: Map
Syntax
object.AllowEdgePan
Parameters
Part |
Description |
---|---|
object |
Required. An expression that returns a Map object. |
Remarks
- Edge-panning is when the mouse pointer changes to a large arrow when placed near the edge of the map window, allowing the user to click and hold the mouse button to quickly pan the map in the direction of the arrow. For more information, see the Move the map a lot procedural topic.
Example
Sub PreventPanning()
Dim objApp As New MapPoint.Application
'Set up the application
objApp.Visible = True
objApp.UserControl = True
'Do not allow panning of the map
objApp.ActiveMap.AllowEdgePan = False
End Sub