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

IElement.Draw Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElement Interface > IElement.Draw Method
ArcGIS Developer Help

IElement.Draw Method

Draws the element into the given display object.

[Visual Basic .NET]
Public Sub Draw ( _
    ByVal Display As IDisplay, _
    ByVal TrackCancel As ITrackCancel _
public void Draw (
    IDisplay Display,
    ITrackCancel TrackCancel
  IDisplay* Display,
  ITrackCancel* TrackCancel
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.


Draw draws the element to the screen display specified. An ITrackerCancel object can be passed in to enable cancelation of the draw wit the ESC key. 
Symbolization of the element during the draw is based on the symbol that is stored with it.  For instance, Marker Elements are displayed based on the Symbol property on the IMarkerElement interface.


See Also

IElement Interface