How to convert string to rtf
Hello!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for your inquiry.
A string is just a piece of plain text. What do you mean under converting it to RTF? Please explain your task in more words.
Regards,
I would like to get the exact rtf of an Arabic string. Arabic characters are, I believe, represented as escape sequences in rtf.
Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your inquiry. Please see the following link to learn how to insert Arabic text into the document
Then you should just save created document in RTF format using the following code:
doc.Save("out.rtf", SaveFormat.Rtf);
Hope this helps.
Best regards.
Thank you very much for your replay.