ArcObjects Library Reference (SpatialAnalyst)  

ILogicalOp.BooleanOr Method

Performs a boolean 'or' operation on two input rasters.

[Visual Basic .NET]
Public Function BooleanOr ( _
    ByVal geoDataset1 As IGeoDataset, _
    ByVal geoDataset2 As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset BooleanOr (
    IGeoDataset geoDataset1,
    IGeoDataset geoDataset2
);
[C++]
HRESULT BooleanOr(
  IGeoDataset* geoDataset1,
  IGeoDataset* geoDataset2,
  IGeoDataset** outGeodataset
);
[C++]

Parameters

geoDataset1 [in]

  geoDataset1 is a parameter of type IGeoDataset

geoDataset2 [in]

  geoDataset2 is a parameter of type IGeoDataset

outGeodataset [out, retval]

  outGeodataset is a parameter of type IGeoDataset

Product Availability

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

Remarks

geoDataset1 the first input Raster, RasterDataset, RasterBand, or RasterDescriptor
geoDataset2 the second input Raster, RasterDataset, RasterBand, or RasterDescriptor

 

See Also

ILogicalOp Interface

.NET Snippets

Create LogicalOp Boolean OR Raster