This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IM > IMathOp Interface > IMathOp.Negate Method (ArcObjects .NET 10.5 SDK) |
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
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |