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


IFeatureRenderer.RenderPhase Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureRenderer Interface > IFeatureRenderer.RenderPhase Property
ArcGIS Developer Help

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,
  Boolean* result
);
[C++]
Parameters
DrawPhase [in]

DrawPhase is a parameter of type esriDrawPhase result [out, retval]
result is a parameter of type 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