ArcObjects Library Reference (Carto)  

IFeatureRenderer.RenderPhase Property

Indicates if renderer uses the specified draw phase.

[Visual Basic .NET]
Public Function get_RenderPhase ( _
    ByVal DrawPhase As esriDrawPhase _
) As Boolean
[C#]
public bool get_RenderPhase (
    esriDrawPhase DrawPhase
);
[C++]
HRESULT get_RenderPhase(
  esriDrawPhase DrawPhase,
  VARIANT_BOOL* result
);
[C++]

Parameters

DrawPhase [in]

  DrawPhase is a parameter of type esriDrawPhase

result [out, retval]   result is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

If a renderer is not applicable to a particular draw phase, this can be indicated by returning False to this property. Typically, all renderers draw in the geography phase and therefore return true in this case.

It is not necessary to return true for the selection draw phase as the Draw method will automatically be called by the framework for the selection phase if there are selected features in the layer being rendered.

See Also

IFeatureRenderer Interface