Pans to a new point.
[Visual Basic .NET] Public Sub PanMoveTo ( _ ByVal mouseLocation As IPoint _ )
[C#] public void PanMoveTo ( IPoint mouseLocation );
[C++]
HRESULT PanMoveTo(
IPoint* mouseLocation
);
[C++]Parameters
mouseLocation [in]mouseLocation is a parameter of type IPoint
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
PanMoveTo pans the display by calculating an offset distance between the start point supplied to PanStart and the destination point provided to this method. The recording cache is automatically redrawn each time PanMoveTo is called. Use the envelope PanStop returns to truly refresh the display.
The typical sequence for using the pan methods is as follows:
- OnMouseDown - PanStart
- OnMouseMove - PanMoveTo
- OnMouseUp - PanStop
See TrackPan for an alternative panning approach.
See Also
IScreenDisplay Interface | IScreenDisplay.PanStart Method | IScreenDisplay.PanMoveTo Method | IScreenDisplay.PanStop Method | IScreenDisplay.TrackPan Method