ArcObjects Library Reference  (Carto)    

ILayer.Draw Method

Draws the layer to the specified display for the given draw phase.

[Visual Basic 6.0]
Sub Draw(
    ByVal DrawPhase As esriDrawPhase, _
    ByVal Display As IDisplay, _
    ByVal TrackCancel As ITrackCancel _
)
[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
);
[Java]
public void draw (
    esridrawPhase drawPhase,
    IDisplay Display,
    ITrackCancel TrackCancel
)
throws
    IOException,
    AutomationException
[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

Product Availability

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

Remarks

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.

See Also

ILayer Interface