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


IMapControlEvents2.OnViewRefreshed Event (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IMapControlEvents2.OnViewRefreshed Event

Fires when the view is refreshed before drawing occurs.

[Visual Basic .NET]
Public Event OnViewRefreshed As OnViewRefreshedEventHandler
[C#]
public event OnViewRefreshedEventHandler OnViewRefreshed
[C++]
HRESULT OnViewRefreshed(
  VARIANT ActiveView,
  long viewDrawPhase,
  VARIANT layerOrElement,
  VARIANT envelope
);
[C++]

Parameters ActiveView [in] ActiveView is a parameter of type VARIANT viewDrawPhase [in] viewDrawPhase is a parameter of type long layerOrElement [in] layerOrElement is a parameter of type VARIANT envelope [in] envelope is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine.

Description

The OnViewRefreshed event is based upon the IActiveViewEvents::ViewRefreshed event. The event is triggered when the IMapContro2::Map is refreshed before the OnAfterDraw events.

See Also

IMapControlEvents2 Interface