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


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

IRasterCalcUniqueValues.AddFromRasterAsDecimal Method

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

[Visual Basic .NET]
Public Sub AddFromRasterAsDecimal ( _
    ByVal pRaster As IRaster, _
    ByVal iBand As Integer, _
    ByVal precision As Double, _
    ByVal pUniqueValues As IUniqueValues _
)
[C#]
public void AddFromRasterAsDecimal (
    IRaster pRaster,
    int iBand,
    double precision,
    IUniqueValues pUniqueValues
);
[C++]
HRESULT AddFromRasterAsDecimal(
  IRaster* pRaster,
  long iBand,
  double precision,
  IUniqueValues* pUniqueValues
);
[C++]
Parameters
pRaster [in]

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

Product Availability

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

See Also

IRasterCalcUniqueValues Interface