This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControlEvents2 Interface > IMapControlEvents2.OnViewRefreshed Event (ArcObjects .NET 10.4 SDK) |
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
The OnViewRefreshed event is based upon the IActiveViewEvents::ViewRefreshed event. The event is triggered when the IMapContro2::Map is refreshed before the OnAfterDraw events.