This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayer Interface > ILayer.Draw Method (ArcObjects .NET 10.4 SDK) |
Draws the layer to the specified display for the given draw phase.
[Visual Basic .NET] Public Sub Draw ( _ ByVal DrawPhase As esriDrawPhase, _ ByVal Display As IDisplay, _ ByVal TrackCancel As ITrackCancel _ )
[C#] public void Draw ( esriDrawPhase DrawPhase, IDisplay Display, ITrackCancel TrackCancel );
[C++]
HRESULT Draw(
esriDrawPhase DrawPhase,
IDisplay* Display,
ITrackCancel* TrackCancel
);
[C++]
Parameters DrawPhase [in]
DrawPhase is a parameter of type esriDrawPhase Display [in]
Display is a parameter of type IDisplay TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel
This method draws the layer to the Display for the specified DrawPhase. Use the TrackCancel object to allow the drawing of the layer to be interrupted by the user.