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

IdxSpreadSheetCellData.GetAsFormula Method

Returns a parsed formula expression associated with a cell.

#Declaration

Delphi
function GetAsFormula: TObject;

#Returns

Type
TObject

#Remarks

To access properties and methods of a formula expression, cast the GetAsFormula function result to the corresponding TdxSpreadSheetCustomFormula descendant class (TdxSpreadSheetFormula, for instance). The GetAsFormula function returns nil if no formula expression is associated with a cell. If the cell has a formula, you can identify its error status by calling the GetAsError function.

The GetAsFormula function is a getter of the AsFormula property.

See Also