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


IClassBreaksRenderer.Break Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IClassBreaksRenderer.Break Property

Break value at the specified index. Break(0) is the lowest break and represents the upper bound of the lowest class.

[Visual Basic .NET]
Public Function get_Break ( _
    ByVal Index As Integer _
) As Double
[Visual Basic .NET]
Public Sub set_Break ( _
    ByVal Index As Integer, _
    ByVal Value As Double _
)
[C#]
public double get_Break (
    int Index
);
[C#]
public void set_Break (
    int Index,
    double Value
);
[C++]
HRESULT get_Break(
  long Index,
  double* Value
);
[C++]
HRESULT put_Break(
  long Index,
  double Value
);
[C++]

Parameters Index [in] Index is a parameter of type long Value [out, retval] Value is a parameter of type double Index [in] Index is a parameter of type long Value [in] Value is a parameter of type double

Product Availability

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

Description

Break(i) is the value of the highest value in the ith class.

Remarks

Break is the array of values that represent the renderer's class breaks. Each Break value is the highest value for the class that it defines. Values higher than a given Break fall into a class above the Break, or outside of the clasification if there are no higher breaks.

The value in Break(0) represents the upper value in the lowest class. This value is included the first class. The value in Break (BreakCount - 1) represents the upper value in the highest class. Values greater than to Break(BreakCount - 2) , but less than Break(BreakCount-1) are drawn will Symbol(BreakCount -1).

Breaks, symbols, labels, and descriptions are all indexed the same and match the classes defined for the renderer. If you change BreakCount then these arrays will be reindexed. Existing values are preserved if BreakCount increases, but existing values will be lost if BreakCount descreases.

See Also

IClassBreaksRenderer Interface

.NET Samples

Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm)