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


IRasterCalcUniqueValues.AddFromRaster Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

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 _
)
[C#]
public void AddFromRaster (
    IRaster pRaster,
    int iBand,
    IUniqueValues pUniqueValues
);
[C++]
HRESULT AddFromRaster(
  IRaster* pRaster,
  long iBand,
  IUniqueValues* pUniqueValues
);
[C++]

Parameters 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