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


IMathOp.Negate Method (ArcObjects .NET 10.4 SDK)
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