ArcObjects Library Reference (Display)  

IDisplayEvents.DisplayInvalidated Event

Notifies clients when display is invalidated.

[Visual Basic 6.0]
Event DisplayInvalidated(
    ByVal Display As IDisplay, _
    ByVal rect As IEnvelope, _
    ByVal erase As Boolean, _
    ByVal cacheID As Integer _
)
[Visual Basic .NET]
Public Event DisplayInvalidated As DisplayInvalidatedEventHandler
[C#]
public event DisplayInvalidatedEventHandler DisplayInvalidated
[C++]
HRESULT DisplayInvalidated(
  IDisplay* Display,
  IEnvelope* rect,
  VARIANT_BOOL erase,
  short cacheID
);
[C++]

Parameters

Display [in]

  Display is a parameter of type IDisplay

rect [in]

  rect is a parameter of type IEnvelope

erase   erase is a parameter of type VARIANT_BOOL cacheID   cacheID is a parameter of type short

Product Availability

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

Remarks

IScreenDisplay::Invalidate fires this event to notify all clients a display has been invalidated.  The display, the area invalidated, the erase setting, and the cacheID are all returned to clients listening to this event. 

The Map object is one client that listens for this event and it may in turn fire the IActiveViewEvenets::ViewRefreshed event.

See Also

IDisplayEvents Interface