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


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

IRasterCalcUniqueValues Interface

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

Product Availability

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

Members

Name 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.

Classes that implement IRasterCalcUniqueValues

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.