This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayEvents Interface > IDisplayEvents.DisplayScrolled Event (ArcObjects .NET 10.4 SDK) |
Notifies clients when display is scrolled.
[Visual Basic .NET] Public Event DisplayScrolled As DisplayScrolledEventHandler
[C#] public event DisplayScrolledEventHandler DisplayScrolled
[C++]
HRESULT DisplayScrolled(
IDisplay* Display,
long deltaX,
long deltaY
);
[C++]
Parameters Display [in]
Display is a parameter of type IDisplay deltaX [in] deltaX is a parameter of type long deltaY [in] deltaY is a parameter of type long
IScreenDisplay::DoScroll fires this event to notify all clients that the display has scrolled. For example, the Map object listens for this event because it needs to perform some drawing operations whenever its display is scrolled.