ArcObjects Library Reference (Controls)  

IPageLayoutControlEvents.OnBeforeScreenDraw Event

Fires before the PageLayout contained by the PageLayoutControl starts to draw.

[Visual Basic 6.0]
Event OnBeforeScreenDraw(
    ByVal hdc As Long _
) As Empty
[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

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

IPageLayoutControlEvents Interface