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

TdxSpreadSheetCell.GetAsError Method

Returns the cell object’s error status.

#Declaration

Delphi
function GetAsError: TdxSpreadSheetFormulaErrorCode; virtual;

#Returns

Type
TdxSpreadSheetFormulaErrorCode

#Remarks

This property returns ecNone if the cell object’s formula expression is parsed and calculated without errors or there is no associated formula expression. Otherwise, the GetAsError function returns a code from the error code list detailed in the TdxSpreadSheetFormulaErrorCode type description. To identify if the cell object has a formula expression, you can use the IsFormula or DataType property.

This function is accessible via the IdxSpreadSheetCellData interface and is called internally by the ExpressSpreadSheet formula engine to identify the state of formula expressions associated with data cells in ExpressSpreadSheet and ExpressQuantumGrid Views.

The GetAsError function is a getter of the AsError property.

See Also