This document is archived and information here might be outdated. Recommended version. |
Executes before the layer draws to the display for the given draw phase.
[Visual Basic .NET] Public Sub BeforeDraw ( _ ByVal viewPhase As esriViewDrawPhase, _ ByVal Display As IDisplay, _ ByVal TrackCancel As ITrackCancel _ )
[C#] public void BeforeDraw ( esriViewDrawPhase viewPhase, IDisplay Display, ITrackCancel TrackCancel );
[C++]
HRESULT BeforeDraw(
esriViewDrawPhase viewPhase,
IDisplay* Display,
ITrackCancel* TrackCancel
);
[C++] Parameters viewPhase [in]
viewPhase is a parameter of type esriViewDrawPhase Display [in]
Display is a parameter of type IDisplay* TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel*