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

.NET Related Topics

Executing a map algebra expression |