This document is archived and information here might be outdated.  Recommended version.


IScreenDisplay.PanMoveTo Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay Interface > IScreenDisplay.PanMoveTo Method
ArcGIS Developer Help

IScreenDisplay.PanMoveTo Method

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:

See TrackPan for an alternative panning approach.

See Also

IScreenDisplay Interface | IScreenDisplay.PanStop Method | IScreenDisplay.PanStart Method | IScreenDisplay.PanMoveTo Method | IScreenDisplay.TrackPan Method