HTML-to-RTF Pro DLL .Net is a component for developers that enables application convert XHTML,ASPX, HTML to RTF, DOC, plain Text. The component has own HTML parser and RTF creator written in C# for .Net.

Our library is absolutely standalone, it does't require Microsoft Office or Internet Explorer. We don't use any third-party software. It's completelly written in C# in Visual Studio.

What the component can do:

  • Convert HTML to Word
  • Convert HTML to RTF
  • Convert HTML to Unicode Text
  • Merge RTF documents

 

What you may adjust in output Word (RTF) document:

  • Set page size, orientation, margins, numbers for printing purposes
  • Specify header and footer in HTML, RTF or Text format
  • Set default font face, color, size
  • Preserve images or not
  • Specify output format: RTF, Word, Unicode text, ANSI text
  • Transform tables to text

 

Where component can be used:

  • .Net 1.1, 2.0, 3.0, 3.5, 4.0 etc
  • C#, VB.Net, ColdFusion 8, J#, Delphi.Net, ASP.Net
  • Works in Shared hosting and Medium Trust level
  • In ASP.Net, WinForms and Console apps
  • At server side for creating Web apps

 

Supported HTML elements

The component converts XHTML, HTML documents to RTF, DOC and plain Text with support of:

 

  • All HTML tags necessary to make exact RTF analog
    • A, B, BASE, BLOCKQUOTE, BODY, BR, CENTER, DD, DIV, DL, DT, EM, FONT, FORM, Hx, HEAD, HR, HTML, I, IMG, INPUT, LI, LINK, OL, P, PRE, SCRIPT, SELECT, SMALL, SPAN, STRONG, SUB, SUP, TABLE, TD, TEXTAREA , TH, THEAD, TITLE, TR, U, UL
  • Font face, color and size attributes
  • These CSS are supported now
    • CSS styles can be located inside HTML between <!-- ... -->tags
    • CSS styles can be stored in local *.css file and linked to HTML/XHTML
    • CSS styles can be located in Internet/Intranet *.css file and linked to XHTML/HTML file
  • Full text formatting: bold, italic, underline, strike, superscript and subscript
  • Text indents
  • Backgrounds and colors
  • Tables and nested tables
  • Images in GIF, JPEG, BMP and PNG formats
    • Imaged can be local or located in Internet/Intranet
    • Images will be downloaded and stored inside DOC, RTF document
  • Unicode support
    • The component understand Japanese, Chinese, Korean , Cyrillic, etc
  • Hyperlinks
  • Special characters, such as   & <, &#00; - ÿ -  etc.
  • Page, text and table alignment