TdxSpreadSheetFormattedTextService.IsFormattedTextValue(TdxSpreadSheetCell) Method
Identifies if the specified cell object contains an RTF string.
Declaration
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