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


IClassifyMinMax2.ClassifyMinMax Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IC > IClassifyMinMax2 Interface > IClassifyMinMax2.ClassifyMinMax Method
ArcGIS Developer Help

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,
  System.Int32* 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