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


IScaleDependentRenderer.AddRenderer Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IScaleDependentRenderer.AddRenderer Method

Adds a renderer to the end of the list.

[Visual Basic .NET]
Public Sub AddRenderer ( _
    ByVal Renderer As IFeatureRenderer _
)
[C#]
public void AddRenderer (
    IFeatureRenderer Renderer
);
[C++]
HRESULT AddRenderer(
  IFeatureRenderer* Renderer
);
[C++]

Parameters Renderer [in]
Renderer is a parameter of type IFeatureRenderer

Product Availability

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

Description

This method adds a feature renderer to a scale dependent renderer. You must then set a corresponding Break to indicate the minimum scale at which the renderer will be used to draw features. For example, set Break(0)=1,000 to specify that the first sub renderer be used at scales greater than or equal to 1:1,000. 1:500 is an example of a scale that is greater than or equal to 1:1,000.

See Also

IScaleDependentRenderer Interface