ESRI.ArcGIS.ADF
Draw Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseCustomLayer Class : Draw Method




drawPhase
Display
trackCancel
Draws the layer to the specified display for the given draw phase.

Syntax

Visual Basic (Declaration) 
Public MustOverride Sub Draw( _
   ByVal drawPhase As esriDrawPhase, _
   ByVal Display As IDisplay, _
   ByVal trackCancel As ITrackCancel _
) 
Visual Basic (Usage)Copy Code
Dim instance As BaseCustomLayer
Dim drawPhase As esriDrawPhase
Dim Display As IDisplay
Dim trackCancel As ITrackCancel
 
instance.Draw(drawPhase, Display, trackCancel)
C# 
public abstract void Draw( 
   esriDrawPhase drawPhase,
   IDisplay Display,
   ITrackCancel trackCancel
)

Parameters

drawPhase
Display
trackCancel

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. In order to implement you inheriting class, you must override this method

See Also

© 2010 All Rights Reserved.