sautinsoft.htmltortf 8.5.2.16

.NET 5.0 .NET Core 2.0 .NET Standard 2.0 .NET Framework 4.6
dotnet add package sautinsoft.htmltortf --version 8.5.2.16
NuGet\Install-Package sautinsoft.htmltortf -Version 8.5.2.16
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="sautinsoft.htmltortf" Version="8.5.2.16" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sautinsoft.htmltortf --version 8.5.2.16
#r "nuget: sautinsoft.htmltortf, 8.5.2.16"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install sautinsoft.htmltortf as a Cake Addin
#addin nuget:?package=sautinsoft.htmltortf&version=8.5.2.16

// Install sautinsoft.htmltortf as a Cake Tool
#tool nuget:?package=sautinsoft.htmltortf&version=8.5.2.16

Nuget Nuget

.NET SDK to convert HTML, ASPX, URL to PDF and Images to PDF

SautinSoft.PdfVision is .NET assembly (SDK) which gives API to convert HTML, ASPX to PDF and Image, JPG, Multipage TIFF to PDF.

Top Features

System Requirement

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

Getting Started with PDF Vision .Net

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

Convert HTML to PDF

string inpFile = Path.GetFullPath(@"..\..\Sample.html");
string outFile = new FileInfo("Result.pdf").FullName;

// Local chromium will be downloaded into this directory.
// This takes time only at the first startup.
string chromiumDirectory = new DirectoryInfo(@"..\..\..\..\..\..\Local Chromium\").FullName;
PdfVision v = new PdfVision();
v.ConvertHtmlToPdf(inpFile, outFile);

Convert JPG to PDF

string inpFile = Path.GetFullPath(@"..\..\image-jpeg.jpg");
string outFile = new FileInfo(@"Result.pdf").FullName;

PdfVision v = new PdfVision();
ImageToPdfOptions options = new ImageToPdfOptions();
v.ConvertImageToPdf(new string[] {inpFile}, outFile, options);

Convert HTML to Image

string inpFile = Path.GetFullPath(@"..\..\Sample.html");
string outFile = new FileInfo("Result.png").FullName;

// Local chromium will be downloaded into this directory.
// This takes time only at the first startup.
string chromiumDirectory = new DirectoryInfo(@"..\..\..\..\..\..\Local Chromium\").FullName;
PdfVision v = new PdfVision();
ScreenshotOptions options = new ScreenshotOptions();
v.GetScreenshot(inpFile, outFile, options);

Resources

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.5.2.16 1,145 2/16/2023
8.4.11.9 769 11/9/2022
8.3.5.25 5,666 5/25/2022
8.2.12.7 5,398 12/7/2021
8.1.10.27-beta 211 10/27/2021
8.1.6.7 3,341 6/4/2021
8.0.5.12 498 5/12/2021
8.0.3.12-beta 222 3/16/2021
8.0.1.18-beta 229 1/18/2021
7.4.4.30 200,473 4/30/2020
7.3.2.11 14,318 2/11/2020
7.1.4.17 15,358 4/16/2019
7.0.8.16 7,128 8/16/2018
7.0.7.16 1,218 7/13/2018
7.0.7.11 927 7/11/2018
7.0.6.4 16,798 5/31/2018
5.7.12.9 37,362 1/5/2017

What's new in the version 8.5:
+ We are faced with the problem of reading special characters (ä ü ö) from HTML in various encodings. We have done a lot of work to improve the reading of various encodings of users from all over the world. Now the result of converting to Word looks much better and more accurate.
+ Improved algorithm for calculating fill size for paragraphs.
+ The problem with incorrect determination of line spacing has been resolved.
+ The issue with the erroneous definition of the source encoding has been resolved. Now, encodings (Latin1, UTF-8, ISO-XXX, ASCII, etc) are recognized correctly.
+ The bug with wrapping tables has been resolved. Fixed bug when checking "part number".
+ We've fixed the issue with "h.PageStyle.PageNumbers.Appearance = SautinSoft.HtmlToRtf.ePageNumberingAppearence.PageNumSecond;" Now this option works fine!
+ Improved work with DOCX and RTF documents and fixed some minor issues, which our customers sent to us.