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


IMathOp.Mod Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IM > IMathOp Interface > IMathOp.Mod Method
ArcGIS Developer Help

IMathOp.Mod Method

Finds the remainder of the first input when divided by the second.

[Visual Basic .NET]
Public Function Mod ( _
    ByVal geoDataset1 As IGeoDataset, _
    ByVal geoDataset2 As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset Mod (
    IGeoDataset geoDataset1,
    IGeoDataset geoDataset2
);
[C++]
HRESULT Mod(
  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

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

geoDataset2

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

 

See Also

IMathOp Interface