Skip to main content

TdxSpreadSheetCell.SetText(string,Boolean) Method

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

Declaration

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