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


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

IMathOp.Square Method

Calculates the square of cells in a raster.

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