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


IMathOp.Negate 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.Negate Method
ArcGIS Developer Help

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
);
[C++]
Parameters
geoDataset [in]

geoDataset 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