Click or drag to resize

Welcome to HTML to RTF .Net

Introduction

«HTML to RTF .Net» will help you in development of applications where is necessary to convert any HTML documents to RTF, DOCX and Text. After adding of the reference to "SautinSoft.HtmlToRtf.dll" and typing 3-4 C# lines, you can use these API in your apps:

HTML to RTF .Net

Why to choose «HTML to RTF .Net»?
  • Your license will never expire, no subscription fees.

  • The component is completely written in managed C#.

  • Absolutely standalone, doesn't require Microsoft Office® or anything else.

  • «HTML to RTF .Net» is the Multi-Platform component, runs on:

  • Works in Medium trust level and shared hosting.

  • Works with any type and size of HTML documents.

  • Can be easily updated through NuGet.

  • Unlimited free technical support for all clients and testers.

Input Formats

HTML documents. The component can read and parse all types of HTML: 3.2, HTML 4.01, HTML 5 with CSS and XHTML. Our component doesn't require any special version of HTML format it will work with any version. The component has own HTML parser.

Scripting languages (like a JQuery, JavaScript) are not supported. If you want to convert HTML (saturated by JavaScript and complex CSS) to PDF, use another our component PDF Vision .Net.

These CSS are now supported by the current version of «HTML to RTF .Net»:

background-color:

border-top-style:

border-color:

border-color:

margin-bottom:

background:

border-right-style:

border-top-color:

font-family:

margin-left:

border-collapse:

border-bottom-style:

border-right-color:

font-weight

padding:

border:

border-left-style:

border-bottom-color:

font-style:

padding-top:

border-top:

border-width:

border-left-color:

height:

padding-right:

border-right:

border-top-width:

color:

list-style-type:

padding-bottom:

border-bottom:

border-right-width:

display:

margin:

padding-left:

border-left:

border-bottom-width:

direction:

margin-top:

page-break-after:

border-style:

border-left-width:

font:

margin-right:

page-break-before:

page-break-inside:

text-indent:

vertical-align:

content:

line-height:

text-align:

text-transform:

width:

float:

max-width:

text-decoration:

visibility:

white-space:

font-variant:

 

Output Formats
  1. RTF documents. The component creates RTF documents 1.8. The component has own RTF render. If you are looking only for C# RTF class which can parse and render RTF documents, take a look at our Document .Net.

  2. DOCX documents. The component creates DOCX documents according to Office Open XML (Ecma 4th edition). The component has own DOCX render. If you are looking only for C# DOCX class which can parse and render DOCX documents, take a look at our Document .Net.

  3. Text documents. The component can also create Text from HTML. There is nothing special here, only a thing: unicode characters are supported too.

Feature Highlights

Now let's get to know the core features of «HTML to RTF .Net».

 

We are happy that our «HTML to RTF .Net» helped a lot of developers and companies to simplify the conversion of HTML documents by several lines of code! We appreciate and honor your your questions and reviews...

Requirements and Technical Information
  • Entirely written in managed C#, therefore absolutely standalone.

  • .NET 5.0 and higher.

  • .NET Framework 4.0 and higher.

  • .NET Core 2.0 and higher.

  • .NET Standard 1.3.

    netplatformsstandard

  • Windows & Linux & Mac OS.

Straightforward and clear interface

Summarize, we'd like to point out about the assembly interface. You will likely be surprised at the amount of built in functionality. But it's easy to start work with the component.

To investigate this by yourself, see the list with the Code Examples.