This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IS > IScaleDependentRenderer Interface > IScaleDependentRenderer.Renderer Property (ArcObjects .NET 10.4 SDK) |
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,
LPUNKNOWN* 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 LPUNKNOWN Index [in] Index is a parameter of type long Renderer [in] Renderer is a parameter of type LPUNKNOWN
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,000, Break(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).