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


IScaleDependentRenderer.Renderer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IS > IScaleDependentRenderer Interface > IScaleDependentRenderer.Renderer Property
ArcGIS Developer Help

IScaleDependentRenderer.Renderer Property

The renderer at the specified index.

[Visual Basic .NET]
Public Function get_Renderer ( _
    ByVal Index As Integer _
) As Object
[Visual Basic .NET]
Public Sub set_Renderer ( _
    ByVal Index As Integer, _
    ByVal Renderer As Object _
)
[C#]
public object get_Renderer (
    int Index
);
[C#]
public void set_Renderer (
    int Index,
    object Renderer
);
[C++]
HRESULT get_Renderer(
  long Index,
  IUnknown Pointer* Renderer
);
[C++]
HRESULT putref_Renderer(
  long Index,
  LPUNKNOWN Renderer
);
[C++]
Parameters
Index [in]

Index is a parameter of type long Renderer [out, retval]
Renderer is a parameter of type IUnknown* Index [in]
Index is a parameter of type long Renderer [in]
Renderer is a parameter of type IUnknown

Product Availability

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

Description

Renderer is renderer used to draw features within a given scale range. The number of renderers equals the number of Break values.

Remarks

When setting this property, first check RendererCount to ensure you do not specify an index that is out of range.

As an example of renderers and breaks, if Break(0) = 1,000Break(1) = 10,000, and Break(2) = 250,000, then renderers are applied in the following manner:
                
If the scale denominator <= 1,000 then features are drawn with Renderer(0).

If 1,000 < scale denominator <= 10,000 then features are drawn with Renderer(1).
If 10,000 < scale denominator <= 250,000 then features are drawn with Renderer(2).
If 250,000 < scale demoninator then NO renderer assigned and features are not drawn.

See Also

IScaleDependentRenderer Interface