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


IElement.Draw Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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 _
)
[C#]
public void Draw (
    IDisplay Display,
    ITrackCancel TrackCancel
);
[C++]
HRESULT Draw(
  IDisplay* Display,
  ITrackCancel* TrackCancel
);
[C++]

Parameters 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

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