Skip to main content

TdxSpreadSheetFormattedTextService.IsFormattedEditValue(string) Method

Identifies whether the specified text string is a formatted RTF string.

Declaration

class function IsFormattedEditValue(const AEditValue: string): Boolean; override;

Parameters

Name Type
AEditValue string

Returns

Type
Boolean

Remarks

This class function returns True if the AEditValue string starts with ‘{\rtf’ and has formatting; otherwise – False.

The ForceSetAsRTF and SetAsRTF class functions call the IsFormattedEditValue function internally to check if the accepted string is a formatted RTF string.

See Also