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


IScreenDisplay.DoScroll Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IScreenDisplay.DoScroll Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IScreenDisplay Interface