© Copyright SautinSoft 2002 - 2007
(build 2.0.0 - June 5th, 2007)

Manual for HTML-to-RTF Pro DLL
- .Net component to convert HTML strings (files) to RTF, Text strings (files).
   about | methods and properties | code samples | html samples | faq | order and pricing | support and contacts

     About HTML-to-RTF Pro DLL component .Net version

The HTML-to-RTF Pro DLL component converts HTML and ASP files into good-looking RTF with tables, images and CSS or transform tables to simple text. An output rtf file is smaller than input HTML.
The DLL component doesn't require Microsoft Word or any other word-processors. The .Net version represents SautinSoft.HtmlToRtf.dll, created with only managed C#. Developers can work our component in C#, VB.Net, ASP.Net etc. See samples.
The Win32 API DLL and COM version you can find here.

Component able to work with HTML strings and files. See
properties and methods description

The HTML-to-RTF Pro DLL completely standalone and supports:

- has 4 methods:
- ConvertFile() - working with files
- ConvertString() - takes HTML string and returns RTF string
- ConvertFileToString() - converts HTML file into RTF string
- ConvertStringToFile() - converts HTML string into RTF file

All of methods support converting with images

- converts images (.gif, .jpg, .bmp and .png)
- tables;
- nested tables;
- CSS;
- hyperlinks;
- font face, color, size;
- page alignment;
- bold, italic and underline text;
- special characters;
- automatic encoding select (UTF-8, Windows-1251, etc..);
- select page size (A4, B5, Letter...);
- select page orientation (Landscape or Portrait);
- select page margins;
- It supports all HTML tags and special characters, such as   & &lt, � - ÿ 	 - я etc.

Both DLLs are written on programming language C++ and C# work on all versions Windows. (NT4/95/98/Me/2000/XP/2003). The size of dll is very small about 190 Kb, but speed of converting is about:
- 2 web-pages/per second for RTF mode with nested tables and images;
- 5 web-pages/per second for RTF mode with nested tables;
- 10 web-pages/per second for RTF mode with plain tables;
- 15 web-pages/per second for RTF mode;
- 17 web-pages/per second for TXT mode;

These CSS styles are suppoted now:

font-family: width:
color: text-decoration:
font-weight: vertical-align:
font-size: page-break-before:
text-align: page-break-aftrer:
font-style: list-style-type:
margin-top: margin-bottom:
background-color:  
font:  
top:  
left:  

You may adjust the component and output RTF file will look as you wish, see features.

Version histotry:

Version 2.0.0 (May 31st, 2007)
We released completely C# managed version.

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. These properties are described in documentation -> Methods and properties.

Version 1.8 (build 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.

Version 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.

Version 1.6 (build February 21st, 2006)

Version 1.5 (build October 3, 2005)

Version 1.4 (build June 17, 2005)

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

Version 1.3 (build March 21, 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;

Version 1.2 (build January 20, 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;


Version 1.1 (build August 5, 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.

Version 1.01 (build June 2, 2004) - this is the first COM version of HTML-to-RTF DLL.

Version 1.0 (build February, 12 2004 ) - we released HTML-to-RTF DLL.

Gratitude

We thank to George Hayes (George@bcisolutions.com) for the huge help in creation ActiveX/COM version. We estimate him as highly professional software developer.