HTML to RTF .Net is a native C# component to convert HTML to RTF, Word and Text documents, merge and replace RTF documents.
  Overview | Getting Started | Code Samples | FAQ | History | License | Purchase | Support and Contacts

Version History


5.7.12.7 -
December 7th, 2016

We are glad to announce about releasing new HTML to RTF .Net 5.7! What's new:

  • Presented 64-bit compiled versions. Now the component package contains the set of files SautinSoft.HtmlToRtf.dll compiled in both variants: x86 and x64 for .Net 2.0, 3.5, 4. and 4.5.

  • Added new code examples: "How to convert HTML to RichTextBox" and "How to convert HTML to RTF and Vice Versa".

  • Improved the conversion of HTML tables. We've add the new property TableFitWidthByPage , which automatically decreases a table width if it greater than a page width.

 


5.4.12.15 -
December 15th, 2015

We'd like to introduce the new HTML to RTF .Net 5.4! Let's see the new improvements:

  • The first point of interest is that we've improved the algorithm which converts HTML tables.This innovation is extremely useful to convert HTML tables where each column has width in a different measure units. By way of an example, the first column has width in pixels, third in percentage, but the second has no width attribute.

  • We've enhanced the automatic encoding detection of input HTML. Now the component can detect all known encodings: utf-16 Little Endian, koi-8 ru, windows-1251, utf-8, UCS-2 Big Endian even without BOM.

  • We've enchanced the processing of JPEG images. This adds some points to the conversion speed.

  • Added the new property ExceptionList. The property helps to get a list with all arisen exceptions during the conversion cycle.

  • Improved the HTML to Text conversion.

  • Fixed some minor issues, thereby the component became more error-free.

5.3.7.23 - July 23th, 2015. We are happy to announce about releasing of new «HTML to RTF .Net» 5.3!

We'd like to quickly point out about new features:

  1. Ordered and unordered lists. We created algorithm which converts all types of complex lists <ol> and <ul> with CSS. Furthermore, this algorithm can convert even lists with marker specified only using CSS.
    The new version of «HTML to RTF» can convert any complex types of HTML lists.
  2. Another point of interest, we've improved the engine which converts tables.

  3. Added new properties which allows to set a single and default font face, color and text size for a whole RTF document.

  4. Added new engine to merge RTF files and replace values in RTF documents.

  5. Fixed some minor issues, thereby the component became more error-free.


5.0.12.12 - December 12th, 2012

We are happy to announce about creation of new «HTML to RTF .Net» 5.0! What's new:

  • The new 5.0 version is on 20% faster compare with 4.x

    We've released the new «HTML to RTF .Net» 5.0!

  • Added full support of RTL text compatible with MS Word, WordPad, RichTextBox and other RTF readers

    Added full support of RTL text compatible with MS Word, WordPad, RichTextBox and other RTF readers

  • Added new abilities for working with page numbers here: PageNumbers. You may set font family, size and any position to place page numbers

    Added new abilities for working with page numbers here: PageNumbers

  • Added support of height for table rows
  • Improved algorithm for merging RTF documents
  • Significantly improved the conversion of complex HTML tables
  • Changed the scheme of Getting the component updates. Now it has 12 months free updates.


4.7.2.15 - February 15th, 2012

We are glad to offer new «HTML to RTF .Net» 4.7.2.15! What's new:

  • Added new properties: MarginTop and MarginBottom to control top and bottom margins for page header/footer:

    Set margins for header and footer in RTF document
  • Added new property PageBreakBetweenDocuments to control page breaks in process of merging of RTF documents
  • Extended support of css for tag <hr>, now it supports: height, width, color and size. For example:

    <hr style="color: green">

    <hr style="width:50px;height:10px">

    <hr width="300" align="right" style="color:red">

  • Fixed the issue with indents during converting of bulleted and ordered lists
  • Fixed the issue with alignment page numbers by left


4.6.10.19 - October 19th, 2011

We are happy to inform about releasing new «HTML to RTF .Net» 4.6.10.19. Detailed news:

  • Added support of converting base64 encoded images embedded in HTML:
    <img  src="data:image/gif;base64,R0lGODlhUAAPAKIAAAsL...>
  • Increased speed of converting huge HTML tables in ~1.7 times
  • Fixed minor issues with compatibility of RTF with nested tables and WordPad


4.5.9.19 - September 19th, 2011

We've released new update of the «HTML to RTF .Net» 4.5.7.11. What's new:


4.5.7.11 - July 11th, 2011

We are happy to offer the new «HTML to RTF .Net» 4.5.7.11. What's new:

  • Added support of new CSS: 'vertical-align:'
  • Improved working with borders, background, vertical alignment in HTML tables
  • Fixed issues with styles: 'page-break-after', 'page-break-before' and 'page-break-inside'
  • Description of all methods and properties in documentation enhanced by pictures, like this:

    Convert of HTML table to RTF with borders
  • Fixed minor issues


4.4.5.12 - May 12th, 2011

We are happy to offer the new «HTML to RTF .Net» 4.4.5.12. What's new in this release:

  • Added support of new CSS: 'font:' and 'font-variant:'
    CSS elements: font and font-variant
  • Improved the property "PageNumbersFormat", now it supports Unicode and allows to specify page numbers in any language:
    Page 1 of 4
  • Fixed issue with the style 'text-indent', now it became work also with negative values.
  • Fixed some minor issues


4.3.3.3 - March 3rd, 2011

We are glad to inform about creating of new «HTML to RTF .Net» 4.3.3.3. What's new:

  • Added support of multiple CSS names inside attributes "class" and "id":
    <tag class="name1 name2"> or <tag id="name1 name2 ... nameN">
    
  • Added the new property "PageNumbersFormat" which helps to specify custom page numbers, such as "Page 1 of 20" or "This is page 2":


  • Fixed issue with truncating any parameters after the image file name, for example: image.jpg?x=1234
  • Fixed minor issues


4.2.12.20 - December 20th, 2010

We've released new minor update 4.2.12.20 of the «HTML to RTF .Net»:

  • Improved algorithm for converting nested tables
  • Fixed issue with truncating any parameters after the image file name, for example: image.jpg?x=1234


4.2.12.6 - December 6th, 2010

We've released new version 4.2.12.6 of the «HTML to RTF .Net»:


4.1.7.16 - July 16th, 2010

We are happy to inform about releasing new version 4.1.7.16 of the «HTML to RTF .Net»:

3.5.0.0 - March 31st, 2010

3.2.2.3 - February 23rd, 2010

  • Completely reformed interface of the component
  • Completely new documentation
  • Added new code samples
  • Added converting of HTML to Unicode Text, like a Japanese, Chinese
  • Added support of image attributes height/width in % percents
  • Added support of some new CSS styles:
    • border-color:
    • border-width:
    • background-color:


3.2.0.0 - October 28th, 2009

  • Added new class PageStyle which allows to set custom page width and height

3.1.0.5 - July 14th, 2009

What's new:

  • Added support of twelve new CSS styles:
    • border-top-style;
    • border-right-style;
    • border-bottom-style;
    • border-left-style;
    • border-top-width;
    • border-right-width;
    • border-bottom-width;
    • border-left-width;
    • border-top-color;
    • border-right-color;
    • border-bottom-color;
    • border-left-color.
  • Improved algorithm of HTML table converting;
  • Fixed minor issues in converting of broken HTML tables;
  • Added the new property 'TraceType' which allows to select type of tracing file. A tracing file is necessary to debug component and helps to find some issues in HTML converting.

3.0.9.1 - March 27th, 2009

What's new:

  • Added support of UTF-16 encoding;
  • Improved HTML tables converting;

3.0.8.16 - December 16th, 2008

What's new:

  • Improved image converting algorithm, now produced RTF/DOC files with images light in 10%;
  • Fixed issue in converting of nested bullets and lists.

3.0.8.12 - November 30th, 2009

What's new:

  • fixed processing of CSS styles 'margin-top:' and 'margin-bottom:';
  • improved support of CSS for hyperlinks.

3.0.8 - November 15th, 2008

What's new:

  • added support of UNC paths inside <img ..> tags;
  • fixed issue with roman and alphabetic numbered lists;
  • now tags <h1>, <h2> ... will bemarked as header 1, header 2 in MS Word;
  • fixed minor issues.

3.0.7 - September 30th, 2008

What's new:

  • added support of new CSS styles: 'text-indent:' and 'margin:';
  • fixed issues with multiple bullets and numbering;
  • fixed minor issues with paragraphs and text indents;
  • impoved engine for table converting.

3.0.0 - May 25th, 2008

The component got a new converting engine. This made conversion much accurate, especially text formatting and supporting CSS styles.

What's new:

  • new engine, improved text formatting bold, italic, strike, underline, supporting CSS;
  • ability to download and convert remote HTML documents and images;
  • perfect working with text indents, margins and line spacing.

2.0.0 - May 31st, 2007
We released completely C# managed version.

1.8.1 - April 12th, 2007
Added:
- Converting remote images and HTML files which refer from "http://"
- New properties:
- 'DeleteImages'
- 'DeleteTables'
- 'TableCellPadding'
- 'PreserveHttpImages'
- 'BaseURL'
- New conversion mode HTML to HTML, you can specify component to deleting tables or images or transfer HTML tables to HTML text.

All these properties help you to adjust component that output file looks as you wish.

1.8 - January 18th, 2007

Added:
- support of image conversion into two methods ConvertString() and ConvertFileToString().
Now all methods support HTML converting with images.

Fixed:
- visble/invisible borders for nested tables.

1.7 - build November 7th, 2006

Added:
- methods ConvertFileToString() and ConvertStringToFile();
- two new css-styles: 'list-style-type' and 'margin-bottom';
- new members to debug component: CreateTraceFile and TraceFilePath.

1.6 - February 21st, 2006

1.5 - October 3rd, 2005

1.4 - June 17, 2005

Added:
- support new languages: Japanese, Chinese, Thai and Korean;
- new features for page numbers;
Fixed:
- bug with image conversion;

1.3 - March 21st, 2005

Added:
- Turkish, Arabic encoding;
- member 'ImageCompatibles', you may select image type which will procuded by DLL, compatible for MS Word (wmf, jpeg, png) or for WordPad (bitmap format).
- Page numbers;
- Headers and Footers;

Fixed:
- working with CSS was improved;

1.2 - January 20th, 2005

Added:
- UTF encoding;
- CSS;
- new method Convert() - for working with strings;
- page sizes: Letter, Legal, Executive and Monarch;
- background colors;

Fixed:
- working with complex tables;
- support attributes rowspan and colspan;

1.1 - August 5th, 2004

Released HTML-to-RTF DLL and HTML-to-RTF Pro DLL, we added many new features:

- method ConvertFile();
- converting images (gif, jpg and png);
- support nested tables;
- select page size (A4, B5,...);
- select page orientation (Landscape or Portrait);
- selecting page margins;

Fixed:
- working with colspan and rowspan attributes in tables.

1.0.1 - June 2nd, 2004

This is the first COM version of HTML-to-RTF DLL.

1.0.0 - February 12th, 2004. Released first .Net version. It's a C# wrapper for our Win32 API htmltortf_sautinsoft.dll.

«HTML to RTF .Net» is a standalone C# library to convert HTML to RTF, Word, Text.

  • No Microsoft Office automation
  • Fast and Intependent HTML to Word, RTF, Text solution
  • Developed in 100% managed C# code
  • Allows to export HTML strings and files to RTF, DOCX in memory
  • Easy to integrate in any .Net app: ASP.Net, Console and WinForms applications.

Advantages

  • The component converts RTF to HTML in many times faster than MS Office automation
  • Has great abilities to adjust an output HTML, XHTML or Text as you wish
  • Works at any servers with shared hosting and meduim trust level!

 

© Copyright SautinSoft™ 2002 - 2017