TdxSpreadSheetCell.GetAsError Method
Returns the cell object’s error status.
Declaration
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.