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.SetText(string,Boolean) Method

Assigns an unformatted text string or formula expression to the cell.

#Declaration

Delphi
procedure SetText(const AText: string; const AFormulaChecking: Boolean = False); virtual;

#Parameters

Name Type
AText string
AFormulaChecking Boolean

#Remarks

Call this procedure and pass a text string as the AText parameter to assign the string as the cell’s value. Pass True as the optional AFormulaChecking parameter to interpret the specified text string as a formula expression.

Note

A SetText procedure call sets the Style.WordWrap property to True if the assigned text string contains at least one carriage return character.

See Also