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.SetAsRTF(string) Method

Replaces the cell object’s value with a formatted RTF string.

#Declaration

Delphi
function SetAsRTF(const AText: string): Boolean;

#Parameters

Name Type
AText string

#Returns

Type
Boolean

#Remarks

This function returns True only if the AText parameter value is a formatted RTF string (that is, starts with ‘{\rtf’ and has formatting); otherwise – False.

Note

Alternatively, you can call the spreadsheet text service‘s SetAsRTF function and pass the cell object and a formatted RTF string as the ACell and AEditValue parameters.

See Also