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

IRasterCalcUniqueValues.AddFromRaster Method (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 > IRasterCalcUniqueValues.AddFromRaster Method
ArcGIS Developer Help

IRasterCalcUniqueValues.AddFromRaster Method

Adds values from a given band of a Raster.

[Visual Basic .NET]
Public Sub AddFromRaster ( _
    ByVal pRaster As IRaster, _
    ByVal iBand As Integer, _
    ByVal pUniqueValues As IUniqueValues _
public void AddFromRaster (
    IRaster pRaster,
    int iBand,
    IUniqueValues pUniqueValues
HRESULT AddFromRaster(
  IRaster* pRaster,
  long iBand,
  IUniqueValues* pUniqueValues
pRaster [in]

pRaster is a parameter of type IRaster* iBand [in]
iBand is a parameter of type long pUniqueValues [in]
pUniqueValues is a parameter of type IUniqueValues*

Product Availability

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

See Also

IRasterCalcUniqueValues Interface