ArcObjects Library Reference (Carto)  

IClassBreaksRenderer.Symbol Property

Symbol at the specified index (used to draw features in the specified class).

[Visual Basic .NET]
Public Function get_Symbol ( _
    ByVal Index As Integer _
) As ISymbol
[Visual Basic .NET]
Public Sub set_Symbol ( _
    ByVal Index As Integer, _
    ByVal sym As ISymbol _
)
[C#]
public ISymbol get_Symbol (
    int Index
);
[C#]
public void set_Symbol (
    int Index,
    ISymbol sym
);
[C++]
HRESULT get_Symbol(
  long Index,
  ISymbol** sym
);
[C++]
HRESULT put_Symbol(
  long Index,
  ISymbol* sym
);
[C++]

Parameters

Index [in]   Index is a parameter of type long sym [out, retval]

  sym is a parameter of type ISymbol

Index [in]   Index is a parameter of type long sym [in]

  sym is a parameter of type ISymbol

Product Availability

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

Description

Symbol(i) is the symbol that will be used to draw features in the ith class.

Remarks

The objects stored in the Symbol property array are the symbols used to draw features in each class defined by the renderer.

Symbol(0) is used to draw features in the class defined by Break(0), the lowest class defined by the renderer. Symbol(BreakCount - 1) is used to draw features in the class defined by Break(BreakCount - 1) the highest class defined by the renderer. All features with values greater than Break(BreakCount-2) and less than or equal to Break(BreakCount-1) will be drawn with Symbol(BreakCount-1)..

Breaks, symbols, labels, and descriptions are all indexed the same and match the classes defined for the renderer. The lowest index is 0 and the highest index = BreakCount - 1.

See Also

IClassBreaksRenderer Interface

.NET Samples

Multivariate renderer (Code Files: MultivariateRenderer) | Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm)