Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetCustomFormula.ArrayFormulaSize Property

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

#Declaration

Delphi
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