This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControlEvents Interface > IPageLayoutControlEvents.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 events is triggered when the IPageLayoutControl::PageLayout is refreshed before the OnAfterDraw events.