ArcObjects Library Reference (SpatialAnalyst)  

IConditionalOp Interface

Provides access to members that control the conditional operations.

Product Availability

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

Members

Description
Method Con Performs a conditional if/else evaluation.
Method Pick Using the values of 'valueRaster', determines which raster in 'collectionofRasters' will be used for the output values.
Method SetNull 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.

CoClasses that implement IConditionalOp

CoClasses and Classes Description
RasterConditionalOp A mechanism for performing conditional operations on rasters.

Remarks

  • Read the Working with ArcGIS Spatial Analyst objects technical document for general information on implementing Spatial Analyst operations.
  • .NET Snippets

    Create ConditionalOp Con Raster