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


IConditionalOp2.SetNull Method (ArcObjects .NET 10.5 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,
  IGeoDataset** SetNull
);
[C++]

Parameters ConditionalRaster [in]
ConditionalRaster is a parameter of type IGeoDataset FalseRaster [in] FalseRaster is a parameter of type LPUNKNOWN SetNull [out, retval]
SetNull is a parameter of type IGeoDataset

Product Availability

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

See Also

IConditionalOp2 Interface