Hello,
I'm using a TWPRichText as a memo-field and the RTF is stored in a BlobField in the database. It's also a string-property in a business-object I have created! I'm using BlobField.AsString to set and get the RTF en put it in the business-object. To put it from the business-object in the TWPRichtext I use the LoadFromString. To get the RTF from the TWPRichText I would like to use SaveToString. But there is no SaveToString. Why not?
Now I have to use SaveToStream to put the RTF in a memorystream, load the memorystream in a TStringlist and then I can use the Text property to get the RTF-string I need.
Is there an easy way to achieve the SaveToString I need with TWPRichtext directly?
TIA