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


IClassifyMinMax2.ClassifyMinMax Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IClassifyMinMax2.ClassifyMinMax Method

Classifies a data range defined by a minimum and maximum value into the specified number of classes.

[Visual Basic .NET]
Public Sub ClassifyMinMax ( _
    ByVal min As Double, _
    ByVal max As Double, _
    ByRef numClasses As Integer _
)
[C#]
public void ClassifyMinMax (
    double min,
    double max,
    ref int numClasses
);
[C++]
HRESULT ClassifyMinMax(
  double min,
  double max,
  long* numClasses
);
[C++]

Parameters min [in] min is a parameter of type double max [in] max is a parameter of type double numClasses [in, out] numClasses is a parameter of type long

Product Availability

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

Description

Use the ClassifyMinMax method to generate class breaks based upon the minimum and maximum values specified and the number of classes specified.

Use this method as an alternative to setting the IClassifyMinMax.Minimum and IClassifyMinMax.Maximum properties and then calling IClassify.Classify method.

See Also

IClassifyMinMax2 Interface