This document is archived and information here might be outdated.  Recommended version.


IMapControlEvents2.OnBeforeScreenDraw Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControlEvents2 Interface > IMapControlEvents2.OnBeforeScreenDraw Event
ArcGIS Developer Help

IMapControlEvents2.OnBeforeScreenDraw Event

Fires before the Map contained by the MapControl 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

Product Availability

Available with ArcGIS Engine.

Description

OnBeforeScreenDraw is triggered before the IDisplayEvents::DisplayStarted event is called on the map's screen display. The hdc represents the device context on the screen display.

See Also

IMapControlEvents2 Interface