Skip to main content

TdxSpreadSheetCustomFormula.ArrayFormulaSize Property

Returns the dimensions (in cells) of an area occupied the array formula result.

Declaration

property ArrayFormulaSize: TSize read;

Property Value

Type
TSize

Remarks

Use this property to obtain the size of the cell range that stores the array formula calculation result. The ArrayFormulaSize.Width and ArrayFormulaSize.Height property values return the number of columns and rows occupied by the resulting array.

Unlike the ArrayFormulaArea.Size property, ArrayFormulaSize returns (0, 0) if the formula expression’s result is a single value rather than an array.

You can call the IsArrayFormula function to identify if the calculated formula expression result is an array.

See Also