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

Retrieves the cell object’s formatted content as an RTF string.

#Declaration

Delphi
function GetAsRTF(out AText: string): Boolean;

#Parameters

Name Type
AText string

#Returns

Type
Boolean

#Remarks

Call this function to attempt to retrieve the cell object’s value as an RTF string via the AText parameter. The GetAsRTF function returns True only if the cell object contains an RTF-formatted string. Otherwise – the function returns False.

Note

Alternatively, you can call the speadsheet text service‘s GetAsRTF function and pass the cell object as the ACell parameter.

See Also