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


ILogicalOp.GreaterThan Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

ILogicalOp.GreaterThan Method

Returns 1 for cells where the first raster is greater than the second raster.

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

Parameters geoDataset1 [in]
geoDataset1 is a parameter of type IGeoDataset* geoDataset2 [in]
geoDataset2 is a parameter of type IGeoDataset*

Product Availability

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

Remarks

geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

 

See Also

ILogicalOp Interface