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


IRasterHistogram.Counts Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterHistogram Interface > IRasterHistogram.Counts Property
ArcGIS Developer Help

IRasterHistogram.Counts Property

Count array in doubles.

[Visual Basic .NET]
Public Property Counts As Object
[C#]
public object Counts {get; set;}
[C++]
HRESULT get_Counts(
  Variant* pVal
);
[C++]
HRESULT put_Counts(
  VARIANT pVal
);
[C++]
Parameters
pVal [out, retval]

pVal is a parameter of type VARIANT* pVal [in]
pVal is a parameter of type VARIANT

Product Availability

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

Remarks

This property returns the histogram of the binned pixel values in range 0-255. e.g. an array of 256 and each element is the count.

The pixel values in the raster band will be binned to 0-255 if they are beyond this range.

See Also

IRasterHistogram Interface