NavigationBar.PanMap Method
This documentation is no longer available on MSDN, however it is available as a CHM download.
When overridden in a derived class, pans the map using the specified horizontal and vertical amounts.
Namespace: Microsoft.Maps.MapControl.Navigation
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)
Usage
Syntax
'Declaration
Protected Overridable Sub PanMap ( _
horizontalOffset As Double, _
verticalOffset As Double _
)
protected virtual void PanMap (
double horizontalOffset,
double verticalOffset
)
protected:
virtual void PanMap (
double horizontalOffset,
double verticalOffset
)
protected void PanMap (
double horizontalOffset,
double verticalOffset
)
protected function PanMap (
horizontalOffset : double,
verticalOffset : double
)
Parameters
- horizontalOffset
The amount of horizontal movement.
- verticalOffset
The amount of vertical movement.
Remarks
Pan movement is measured in pixels with negative offset values indicating a pan left or down, and positive offset values indicating a pan right or up.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
See Also
Reference
NavigationBar Class
NavigationBar Members
Microsoft.Maps.MapControl.Navigation Namespace