This document is archived and information here might be outdated. Recommended version. |
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 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.