This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IC > IClassifyMinMax2 Interface > IClassifyMinMax2.ClassifyMinMax Method (ArcObjects .NET 10.5 SDK) |
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
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.