This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay Interface > IScreenDisplay.PanMoveTo Method (ArcObjects .NET 10.4 SDK) |
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
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:
See TrackPan for an alternative panning approach.
IScreenDisplay Interface | IScreenDisplay.PanStop Method | IScreenDisplay.PanStart Method | IScreenDisplay.PanMoveTo Method | IScreenDisplay.TrackPan Method