TdxSpreadSheetCell.SetAsRTF(string) Method
Replaces the cell object’s value with a formatted RTF string.
Declaration
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