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»:

B

 

 

 

 

background-color:

border-left-width:

border-left-color:

border-left-style:

border-top-width:

border-top-color:

border-top-style:

border-right-width:

border-right-color:

border-right-style:

border-bottom-width:

border-bottom-color:

border-bottom-style:

border-collapse:

 

C

 

 

 

 

color:

 

 

 

 

D

 

 

 

 

display:

 

 

 

 

F

 

 

 

 

font-family:

font-size:

font-weight:

font-style

 

L

 

 

 

 

line-height:

list-style-type:

 

 

 

M

 

 

 

 

margin-left:

margin-top:

margin-right:

margin-bottom:

max-width:

max-height:

 

 

 

 

P

 

 

 

 

padding-left:

padding-top:

padding-right:

padding-bottom:

page-break-inside:

page-break-after:

page-break-before:

 

 

 

T

 

 

 

 

text-align:

text-decoration-line:

text-decoration-color:

text-transform:

 

V

 

 

 

 

vertical-align:

 

 

 

 

W

 

 

 

 

width:

white-space:

 

 

 

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

HTML to RTF

 

 

How to convert HTML to RTF in .NET?

HTML to DOCX

 

 

How to convert HTML to DOCX in .NET?

HTML to Text

 

 

How to convert HTML to Text in .NET?

Merge and replace

 

 

How to merge RTF documents and Replace text in them?

 

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.6.1 and higher.

  • .NET Core 2.0 and higher.

  • .NET Standard 2.0.

    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.