int AlgSub(string strLeadGridFile, string strValOrGridFile, string strResultGridFile, MapWinGIS.ICallback cback)
Subtracts each lead cell from the corresponding cell of the tail grid or from the constant value given.
|strLeadGridFile||Path to the lead grid being calculated.|
|strValOrGridFile||Will be parsed as either a numeric (int or real) value to use as a constant for all grid cells of a temp data grid used for the calculation or else a path to the location of a grid to be used for the tail of the calculation.|
|strResultGridFile||o The path to the resulting output grid created from a subtract calculation.|
|cback||o An optional callback object which allows progress and messages to be returned during functionality.|
o Integer representing successful creation on 0 or some error state otherwise.
Visual Basic Net 2005 Example
Visual C# 2005 Example Implementation Code
Back to RasterCalc