The RTF-to-HTML DLL .Net is a robust and independent .Net control to convert RTF to plan HTML 3.2, 4.01 with CSS, RTF toXHTML with CSS, RTF to Text and Text to HTML.
General Functions
Our component is just a class library for developers, but with powerfull abilities of exporting any RTF (rich text format) and Text document to HTML, XHTML with CSS.
It supports converting of RTF to HTML with:
Full text formatting (bold, italic, underline, strike, superscript, subscript)
images in WMF, JPG, PNG, BMP
tables and nested tables, borders colors and type
Font colors, face, size
Hyperlinks and ancors
Full Unicode support
Special characters
The component has such methods to convert document using files, strings, array of bytes.
Our library help you to export RTF to HTML even in memory without creating of physical file on hard drive. Images can be extracted from RTF and saved to HDD as physical files or stored in memory or stored inside HTML using base64 algorithm.
What you can adjust in conversion using DLL properties:
Specify output format: HTML 3.2, HTML 4.01, XHTML, Text
Where to link images to phisycal file on HDD or inside HTML document
Converting with CSS or without CSS
Save CSS between tags <style>...</style> or as inline styles <tag style="...">
Specify encoding of output HTML
Title and set up converting only part of HTML between <body>...</body> tags
Set united font, size and color for document
Specify table borders
So by specifing properties of the component you may make that output HTML document looks as you wish!
Platform Independence
The RTF-to-HTML DLL .Net requires only .Net 1.1 or higher platform. Using the RTF-to-HTML DLL .Net you can easily create any type of a 32-bit or 64-bit .NET application including ASP.NET, Web Services and WinForms . Our .Net assembly is Multi-Platform component, you may use it to build your application with Mono platform for Linux and Mac (http://www.mono-project.com).
Compatibility with W3C standards
HTML and XHTML documents produced by our library are completely compatible with W3C standards. We give a lot consideration of testing our HTML documents at W3C Markup validation service after each release of the component.
Technical Features
Created with only pure C#
Absolutely standalone, you will need to include only "SautinSoft.RtfToHtml.dll" into your application
No other dependencies
Reads RTF, Text files and writes HTML, XHTML directly
Does not require installed Microsoft Office ® or any other software
Works on any .Net platform (.Net 1.1, 2.0, 3.0, 3.5 etc)
Works with Windows and even with Linux and Mac (thanks to Mono project http://www.mono-project.com)
Has great abilities to adjust an output HTML, XHTML or Text as you wish
Small size of dll file, less than 500 Kb
Typical applications where our component can be used
Conversion of RTF (rich text format) from database to HTML purposely display it in ASP.Net page