MapControl.StartContinuousPan(Double, Double) 方法

定义

启动异步操作,使地图从当前位置连续平移。

public:
 virtual void StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) = StartContinuousPan;
void StartContinuousPan(double const& horizontalPixelsPerSecond, double const& verticalPixelsPerSecond);
public void StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond);
function startContinuousPan(horizontalPixelsPerSecond, verticalPixelsPerSecond)
Public Sub StartContinuousPan (horizontalPixelsPerSecond As Double, verticalPixelsPerSecond As Double)

参数

horizontalPixelsPerSecond
Double

double

要水平平移的每秒像素数。

verticalPixelsPerSecond
Double

double

每秒垂直平移的像素数。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于