RTF to HTML.
Net
Windows development manual
Getting Started
1. Launch Microsoft's Visual Studio.
2. Create a new project or open an existing.
3. In the Solution Explorer right click by "References" and select "Add Reference":
4. Add a reference to the file SautinSoft.RtfToHtml.dll
(The Library is located in the subfolders of the folder "Bin" of the Package "RTF to HTML .Net (N.N.N.N)"
For example: Bin\Net 4.0\SautinSoft.RtfToHtml.dll or Bin\Net Core 2.0\SautinSoft.RtfToHtml.dll.
5. Well done! Now your project is able to convert RTF to HTML format!
Or you can use Nuget:
1. Launch Microsoft's Visual Studio.
2. Create a new project or open an existing
3. Add a reference to SautinSoft.RtfToHtml:
(Solution Explorer->right click by "References"->Manage Nuget Packages...->In the tab "Browse" type "SautinSoft" and
find the "SautinSoft.RtfToHtml")
Add dependencies through Nuget (optional)
If you have added the SautinSoft.RtfToHtml.dll into your project using 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.RtfToHtml.dll by the old way (Solution Explorer->right click by
"References"->Add Reference...), please add these dependencies using Nuget:
1. System.IO.Packaging: "4.4.0",
2. System.Text.Encoding.CodePages: "4.0.1",
3. System.Xml.XPath.XmlDocument: "4.3.0",
4. System.Drawing.Common: "4.6.0".
NOTE: Actually, you may add specified versions of the dependencies shown above or use the newer versions.
For example, to add "System.IO.Packaging, 4.4.0:
(Solution Explorer->right click by "References"->Manage Nuget Packages...->In the tab "Browse" type
"System.IO.Packaging" and find the "System.IO.Packaging", select version "4.4.0")
Well done! You have created the “RTF/DOCX to HTML” application under Windows!
If you have any troubles or need extra code, or help, don’t hesitate to ask our SautinSoft
Team at [email protected].