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


ILayerExtensionDraw.BeforeLayerDraw Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILayerExtensionDraw.BeforeLayerDraw Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ILayerExtensionDraw Interface