ArcObjects Library Reference (Controls)  

IMapControlEvents2.OnViewRefreshed Event

Fires when the view is refreshed before drawing occurs.

[Visual Basic 6.0]
Event OnViewRefreshed(
    ByVal ActiveView As Variant, _
    ByVal viewDrawPhase As Long, _
    ByVal layerOrElement As Variant, _
    ByVal envelope As Variant _
) As Empty
[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