This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControlEvents Interface > IPageLayoutControlEvents.OnBeforeScreenDraw Event (ArcObjects .NET 10.5 SDK) |
Fires before the PageLayout contained by the PageLayoutControl starts to draw.
[Visual Basic .NET] Public Event OnBeforeScreenDraw As OnBeforeScreenDrawEventHandler
[C#] public event OnBeforeScreenDrawEventHandler OnBeforeScreenDraw
[C++]
HRESULT OnBeforeScreenDraw(
long hdc
);
[C++]
Parameters hdc [in] hdc is a parameter of type long
OnBeforeScreenDraw is triggered before the IDisplayEvents::DisplayStarted event is called on the PageLayout's screen display. The hdc represents the device context on the screen display.