HTML to RTF .Net is a native C# component to convert HTML to RTF, DOCX and Text formats, merge and replace RTF documents.
|Overview | Getting Started | Code Samples | FAQ | History | License | Purchase | Support and Contacts|
You can easily use «HTML to RTF .Net» in any .Net Framework or .Net Core application. Because of the component is completely written in C# managed code.
Let us say, you have just created a .Net Core project. To configure «HTML to RTF .Net» in your project, make these steps:
1. Add the reference to SautinSoft.HtmlToRtf.dll:
You may add the reference to the SautinSoft.HtmlToRtf assembly by two ways:
1. Nuget (fast way):
(Solution Explorer->right click by "References"->Manage Nuget Packages...->In the tab "Browse" type "SautinSoft" and find the "SautinSoft.HtmlToRtf")
2. Old good way by adding the reference:
First of all, download the «HTML to RTF .Net» package (htmltortf_pro_net.zip) from the SautinSoft website.
Unzip htmltortf_pro_net.zip and find the assembly file "SautinSoft.HtmlToRtf.dll".
(At the Solution Explorer->right click by "References"->Add Reference...->Browse "SautinSoft.HtmlToRtf.dll")
2. Add dependencies through Nuget (optional):
If you have added the SautinSoft.HtmlToRtf.dll into your project in previous step 1 through Nuget, all dependencies are already installed automatically and therefore simply skip this step. If you are creating a .Net Framework (not .Net Core) app, also skip this step.
In case of you have added the reference to the SautinSoft.HtmlToRtf.dll by the old way (Solution Explorer->right click by "References"->Add Reference...), please add these dependencies using Nuget:
For example, to add "System.IO.Packaging, 4.3.0:
Now your application is able to convert HTML to RTF, DOCX and Text documents!