This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCalcUniqueValues Interface > IRasterCalcUniqueValues.AddFromRaster Method (ArcObjects .NET 10.4 SDK) |
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