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


IConditionalOp2.SetNull Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IConditionalOp2.SetNull Method

Returns NoData if the evaluation of the input 'conditionalRaster' is true, or returns the value specified by the 'falseRaster' if it is false, on a cell by cell basis.

[Visual Basic .NET]
Public Function SetNull ( _
    ByVal ConditionalRaster As IGeoDataset, _
    ByVal FalseRaster As Object _
) As IGeoDataset
[C#]
public IGeoDataset SetNull (
    IGeoDataset ConditionalRaster,
    object FalseRaster
);
[C++]
HRESULT SetNull(
  IGeoDataset* ConditionalRaster,
  LPUNKNOWN FalseRaster
);
[C++]

Parameters ConditionalRaster [in]
ConditionalRaster is a parameter of type IGeoDataset* FalseRaster [in]
FalseRaster is a parameter of type IUnknown

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

See Also

IConditionalOp2 Interface