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


IRasterCalcUniqueValues Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterCalcUniqueValues Interface

Provides access to members that controls calculation of unique values. Note: the IRasterCalcUniqueValues interface has been superseded byIRasterCalcUniqueValues2. Please consider using the more recent version.

Product Availability

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

Members

Description
Method AddFromRaster Adds values from a given band of a Raster.
Method AddFromRasterAsDecimal Adds decimal values truncated to a given precision from a given band of a Raster.
Method AddFromTable Adds values of a field of a table.

CoClasses that implement IRasterCalcUniqueValues

CoClasses and Classes Description
RasterCalcUniqueValues A helper class for calculating raster unique values.

Remarks

The two methods operate on the input UniqueValues object and accumulate new unique values to it. So you must co-create the UniqueValues object before calling the two methods.