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