Interface IClassify
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to members that control the classification methods.
[Guid("D5C7A525-DFB8-11D1-AAAD-00C04FA334B3")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IClassify
Remarks
Do not call IClassify.Classify for a StandardDeviation classification until you have set deviation properties using IDeviationInterval.
Instead of IClassify interface, implement IClassifyGEN interface that has been created to replace this one.
Properties
ClassBreaks
The array of class breaks (double). ClassBreaks(0) is the minimum value in the dataset, and subsequent breaks represent the upper limit of each class.
object ClassBreaks { get; }
Property Value
Remarks
Note that the Breaks property array on the ClassBreaksRenderer has one less entry than the array returned from Classify. The first break value in the array returned from Classify is put into the ClassBreakRenderers’ MinimumBreak property. Next, copy the break values into the ClassBreaksRenderer object. You can set up the symbol property of the classes at the same time.

ClassID
The CLSID for the classification object.
UID ClassID { get; }
Property Value
MethodName
The name of the classification method (based on choice of classification object).
string MethodName { get; }
Property Value
Methods
Classify(ref int)
Classifies data into the specified number of classes.
void Classify(ref int numClasses)
Parameters
numClassesint
Remarks
Having obtained the data values and frequencies using the SetHistogramData method, the next step is to compute some class breaks. Do this by calling the Classify method and specifying the number of classes you would like. You must supply the number of desired classes as a variable defined as a Long. Some classification algorithms will return a different number of class breaks to what you specified. The number of classes will be written back to the variable you supplied, so it is always best to recheck the number of class breaks after calling Classify.
SetHistogramData(object, object)
Adds data in form of a histogram (array of values (doubles) and a paired array of frequencies (longs)) to the classification.
void SetHistogramData(object doubleArrayValues, object longArrayFrequencies)