Override this method on a derived class to implement your own defined function.
Syntax
Unit: FlexCel.Report
function TFlexCelUserFormat.Evaluate(const workbook: TExcelFile; const rangeToFormat: TXlsCellRange; const parameters: TArray<TFormulaValue>): TFlxPartialFormat; virtual; abstract;
Parameters
<-> |
Parameter |
Type |
Description |
const |
workbook |
TExcelFile |
File where we are setting the format. |
const |
rangeToFormat |
TXlsCellRange |
Range of cells being formatted. Note that it might be a full row or column if using Format Row or Format Column. |
const |
parameters |
TArray<TFormulaValue> |
An array of objects. |
Returns
The derived class should return the value of the function on the return parameter.
See also