Skip to content

RTF to HTML .Net is a standalone C# assembly to convert Text, DOCX, RTF documents into HTML/XHTML documents with CSS.

Notifications You must be signed in to change notification settings

SautinSoft/SautinSoft.RtfToHtml.Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget

.NET SDK to convert RTF, DOCX to HTML

r

SautinSoft.RtfToHtml is .NET assembly to convert Text, RTF, DOCX to HTML. Provides your by API to transform Word documents to HTML5, 4.01, 3.2, XHTML with a lot of converting options.

Quick links

Top Features

System Requirement

  • .NET Framework 4.6.2 - 4.8.1
  • .NET Core 2.0 - 3.1, .NET 5, 6, 7, 8
  • .NET Standard 2.0
  • Windows, Linux, macOS, Android, iOS.

Getting Started with RTF to HTML .Net

Are you ready to give RTF to HTML .NET a try? Simply execute Install-Package sautinsoft.rtftohtml from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have RTF to HTML .NET and want to upgrade the version, please execute Update-Package sautinsoft.rtftohtml to get the latest version.

Convert RTF to HTML

string inpFile = @"..\..\..\..\example.rtf";
string outfile = Path.GetFullPath("Result.html");
            
RtfToHtml r = new RtfToHtml();
r.Convert(inpFile, outfile, new HtmlFixedSaveOptions() {Title = "SautinSoft Example." });

Convert DOCX to HTML

string inpFile = @"..\..\..\..\example.docx";
string outfile = Path.GetFullPath("Result.html");
            
RtfToHtml r = new RtfToHtml();
r.Convert(inpFile, outfile, new HtmlFixedSaveOptions() {Title = "SautinSoft Example." });

Convert Txt to HTML

string inpFile = @"..\..\..\..\example.txt";
string outfile = Path.GetFullPath("Result.html");
            
RtfToHtml r = new RtfToHtml();
r.Convert(inpFile, outfile, new HtmlFixedSaveOptions() {Title = "SautinSoft Example." });

Resources

About

RTF to HTML .Net is a standalone C# assembly to convert Text, DOCX, RTF documents into HTML/XHTML documents with CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages