You can assign the rich text to the rich text component using the LoadFromFile method or set the RichText string property. Then the only thing you need to do is parse through the rich text and add the tags for the data fields and then set MailMerge to true.
If you are getting the rich text from a TRichEdit there is a handy article in our RichText TechTips: "Copy RTF data from TRichEd to TppRichText"
Comments
LoadFromFile method or set the RichText string property. Then the only thing
you need to do is parse through the rich text and add the tags
for the data fields and then set MailMerge to true.
If you are getting the rich text from a TRichEdit there is a handy article
in our RichText TechTips:
"Copy RTF data from TRichEd to TppRichText"
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com