You can easily use «HTML to RTF .Net» in any .NET application, because of the component is completely written in C# managed code.
The selected API will be downloaded and referenced in your project. All dependencies are already installed automatically.
Using Manage NuGet Packages you can also update HTML to RTF .Net to the desired version.
Note
SautinSoft.HtmlToRtf.dll assemblies compiled for .NET Framework 4.6.2 - 4.8 are located inside (htmltortf_pro_net.zip –> HTML to RTF .Net (X.X.X.X)\Bin\.NET Framework X.X) folder.
SautinSoft.HtmlToRtf.dll assemblies compiled for .NET 6 and up are located inside (htmltortf_pro_net.zip –> HTML to RTF .Net (X.X.X.X)\Bin\.NET X.X) folder.
<ItemGroup>
<PackageReference Include="sautinsoft.html to rtf" Version="*" />
<PackageReference Include="System.IO.Packaging" Version="4.5.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.0" />
<PackageReference Include="SkiaSharp" Version="2.88.7" />
<PackageReference Include="Svg.Skia" Version="1.0.0.18" />
</ItemGroup>
Above we mentioned about the minimal versions of the dependencies, actually you can use newer versions.
Now your application is able to convert HTML to RTF, DOCX and Text documents!
If you need a new code example or have a question: email us at support@sautinsoft.com or ask at Online Chat (right-bottom corner of this page) or use the Form below: