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


IScreenDisplay.PanStart Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

IScreenDisplay.PanStart Method

Prepares display for panning.

[Visual Basic .NET]
Public Sub PanStart ( _
    ByVal mouseLocation As IPoint _
)
[C#]
public void PanStart (
    IPoint mouseLocation
);
[C++]
HRESULT PanStart(
  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

Call PanStart to initiate panning.  The required point parameter specifies the pan's starting point.  Call PanMoveTo next to specify a destination point.

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