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


IMathOp.Abs Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IMathOp.Abs Method

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

Product Availability

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

Remarks

geoDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

 

See Also

IMathOp Interface

.NET Snippets

Create MathOp ABS Raster