This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerExtensionDraw Interface > ILayerExtensionDraw.BeforeLayerDraw Method (ArcObjects .NET 10.4 SDK) |
Drawing event called before layer draws.
[Visual Basic .NET] Public Sub BeforeLayerDraw ( _ ByVal pLayer As ILayer, _ ByVal DrawPhase As esriDrawPhase, _ ByVal pDisplay As IDisplay, _ ByVal pTrackCancel As ITrackCancel _ )
[C#] public void BeforeLayerDraw ( ILayer pLayer, esriDrawPhase DrawPhase, IDisplay pDisplay, ITrackCancel pTrackCancel );
[C++]
HRESULT BeforeLayerDraw(
ILayer* pLayer,
esriDrawPhase DrawPhase,
IDisplay* pDisplay,
ITrackCancel* pTrackCancel
);
[C++]
Parameters pLayer [in]
pLayer is a parameter of type ILayer DrawPhase [in]
DrawPhase is a parameter of type esriDrawPhase pDisplay [in]
pDisplay is a parameter of type IDisplay pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel