|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IM > IMathOp Interface > IMathOp.Abs Method (ArcObjects .NET 10.4 SDK) | 
Calculates the absolute value of cells in a raster.
[Visual Basic .NET] Public Function Abs ( _ ByVal geoDataset As IGeoDataset _ ) As IGeoDataset
[C#] public IGeoDataset Abs ( IGeoDataset geoDataset );
[C++]
HRESULT Abs(
  IGeoDataset* geoDataset,
  IGeoDataset** outGeodataset
);
[C++]
Parameters geoDataset [in]
geoDataset is a parameter of type IGeoDataset outGeodataset [out, retval]
outGeodataset is a parameter of type IGeoDataset
| geoDataset | an input Raster, RasterDataset, RasterBand, or RasterDescriptor |