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

TdxSpreadSheetFormattedTextService.IsFormattedTextValue(TdxSpreadSheetCell) Method

Identifies if the specified cell object contains an RTF string.

#Declaration

Delphi
class function IsFormattedTextValue(ACell: TdxSpreadSheetCell): Boolean; override;

#Parameters

Name Type
ACell TdxSpreadSheetCell

#Returns

Type
Boolean

#Remarks

This class function returns True only if the following conditions are met:

  • The specified cell object exists (that is, the ACell parameter value is not nil);

  • The cell object’s value is a formatted string.

Otherwise, the IsFormattedTextValue function returns False.

Note

The GetAsRTF function calls IsFormattedTextValue internally to identify whether the source cell contains a formatted string.

See Also