Interface IRasterCalcUniqueValues

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll

Provides access to members that controls calculation of unique values.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("B065F7F9-C202-466C-B111-F6A89C55AB29")]
public interface IRasterCalcUniqueValues

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.

Methods

AddFromRaster(IRaster, int, IUniqueValues)

Adds values from a given band of a Raster.

void AddFromRaster(IRaster pRaster, int iBand, IUniqueValues pUniqueValues)

Parameters

pRaster IRaster
iBand int
pUniqueValues IUniqueValues

AddFromRasterAsDecimal(IRaster, int, double, IUniqueValues)

Adds decimal values truncated to a given precision from a given band of a Raster.

void AddFromRasterAsDecimal(IRaster pRaster, int iBand, double precision, IUniqueValues pUniqueValues)

Parameters

pRaster IRaster
iBand int
precision double
pUniqueValues IUniqueValues

AddFromTable(ICursor, int, int, IUniqueValues)

Adds values of a field of a table.

void AddFromTable(ICursor pCursor, int iValueField, int iCountField, IUniqueValues pUniqueValues)

Parameters

pCursor ICursor
iValueField int
iCountField int
pUniqueValues IUniqueValues