ArcObjects Library Reference (SpatialAnalyst)  

IMathOp.Negate Method

Changes the sign of the input raster (multiplies by -1).

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