Convert string to rtf

How to convert string to rtf

Hello!
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
Thanks for your inquiry. Please see the following link to learn how to insert Arabic text into the document
https://reference.aspose.com/words/net/aspose.words/font/bidi/
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.