RTF to PDF - Live Demo

Upload a RTF and view the PDF!
The size of the uploaded file is limited to 200k.
(This is a restriction of the demo, not of the component.)



(There is a evaluation notice on each page.)

Usage (in C#)

The following code fragment allows you to convert a RTF file (read from a stream source in this example) to PDF. 

using TallComponents.PDF.Layout;
using TallComponents.PDF.Layout.Paragraphs;
:
{
   Document doc;
   using ( Stream stream = new FileStream( "test.rtf", FileMode.Open ) )
      doc = new Document();
      Section sec = doc.Sections.Add();
      sec.Paragraphs.Add (new RtfParagraph (stream));
   }
   using( Stream stream = new FileStream( "test.pdf", FileMode.Create ) )
   {
      doc.Write( stream );
   }
}
: