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


IMapAlgebraOp.Execute Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IM > IMapAlgebraOp Interface > IMapAlgebraOp.Execute Method
ArcGIS Developer Help

IMapAlgebraOp.Execute Method

Produces a GeoDataset by executing an expression.

[Visual Basic .NET]
Public Function Execute ( _
    ByVal expression As String _
) As IGeoDataset
[C#]
public IGeoDataset Execute (
    string expression
);
[C++]
HRESULT Execute(
  BSTR expression
);
[C++]
Parameters
expression [in]

expression is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

Remarks

expression

a string statement specifying a map algebra equation. 

Symbol objects created from IMapAlgebra::BindRaster must be surrounded by "[ ]"
Example. "[Ras01] + [Ras02]"

 

See Also

IMapAlgebraOp Interface