This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay Interface > IScreenDisplay.DoScroll Method (ArcObjects .NET 10.5 SDK) |
Scrolls the screen by the specified amount.
[Visual Basic .NET] Public Sub DoScroll ( _ ByVal xDelta As Integer, _ ByVal yDelta As Integer, _ ByVal updateScreen As Boolean _ )
[C#] public void DoScroll ( int xDelta, int yDelta, bool updateScreen );
[C++]
HRESULT DoScroll(
long xDelta,
long yDelta,
VARIANT_BOOL updateScreen
);
[C++]
Parameters xDelta [in] xDelta is a parameter of type long yDelta [in] yDelta is a parameter of type long updateScreen [in] updateScreen is a parameter of type VARIANT_BOOL
ArcMap's scroll bars call this method to scroll the current display. The updateScreen parameter specifies whether or not the display will be refreshed after the scroll.