Overview RTF to HTML .Net


Introduction

RTF to HTML .Net is a cross-platform .NET library that allows your applications to convert DOCX, RTF and text documents to HTML 3.2, 4.01 + with CSS, HTML5, XHTML 1.01. After adding a reference to "SautinSoft.RtfToHtml.dll" and entering 3-4 lines of C#, you can use the API in your applications:

Input formats

  • RTF. The component can read and parse all types of RTF documents: 1.0 - 1.9.1. It has its own RTF parser
  • DOCX. The component can read and parse all types of DOCX documents. It has its own DOCX parser
  • TXT (text documents). Unicode characters are supported

Output formats

HTML 3.2, HTML 4.01, HTML 5, XHTML with and without CSS. All HTML documents created using RTF to HTML .Net are fully compliant with W3C Markup validation service standards.


Advanced Features

  • Enabled support for two HTML converting modes - Fixed and Flowing
  • Full text formatting (font face, color, size, bold, italic, underline, double underline, strike, superscript, subscript)
  • Images in JPG, PNG, GIF, BMP formats (stored separately or inside HTML document using base64 encoding). Full control under saving images using callback
  • Ability to control how and will be stored CSS
  • Tables (borders, background, nested tables, merged cells, nested tables)
  • Set page margins, convert custom pages, set page border
  • Hyperlinks and anchors
  • Ordered and unordered lists
  • Ability to export header and footer in various modes: per section, first and last etc
  • Full Unicode support
  • Special characters