This document is archived and information here might be outdated. Recommended version. |
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*
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.