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


IMapAlgebraOp.Execute Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

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,
  IGeoDataset** geoDataset
);
[C++]

Parameters expression [in] expression is a parameter of type BSTR geoDataset [out, retval]
geoDataset is a parameter of type IGeoDataset

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