I would suggest reading through the RTF specifications. The MSDN Library would be my first stop, refer to this link ms-help://MS.MSDNQTR.2003FEB.1033/Dnrtfspec/html/rtfspec.htm in the MSDN Library (you may need to change your filter in the help files to "No Filter" or "Platform SDK"). The RTF format is rather complex, but it is not all that complicated once you get your feet wet. Also do a Google search for RTF and C#, that should get you a load of good links. The CodeProject (http://www.codeproject.com) has several very good articles about using RTF in C#, so you might want to check them out also.
Once you get the format and specifications figured out, and know what you want to do. You could write a custom class, or inherit from one of the writer base classes in the .NET Framework. Look at the StreamWriter or TextWriter classes for more information. Creating a custom implementation using the RTF format from one of these classes would be a very robust mechanism for your goal.
Dig deeper on C# programming language
Related Q&A from Mark Belles
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.