SautinSoft.PdfVision
6.3.3.7
See the version list below for details.
dotnet add package SautinSoft.PdfVision --version 6.3.3.7
NuGet\Install-Package SautinSoft.PdfVision -Version 6.3.3.7
<PackageReference Include="SautinSoft.PdfVision" Version="6.3.3.7" />
paket add SautinSoft.PdfVision --version 6.3.3.7
#r "nuget: SautinSoft.PdfVision, 6.3.3.7"
// Install SautinSoft.PdfVision as a Cake Addin #addin nuget:?package=SautinSoft.PdfVision&version=6.3.3.7 // Install SautinSoft.PdfVision as a Cake Tool #tool nuget:?package=SautinSoft.PdfVision&version=6.3.3.7
.NET SDK to convert HTML, ASPX, URL to PDF and Images to PDF
SautinSoft.PdfVision is .NET assembly which gives API to convert HTML to PDF; take screenshots from HTML; convert Images (TIFF, PNG, JPEG, BMP) to PDF.
Quick links
Top Features
- Convert HTML file to PDF file.
- Convert Web-site (URL) to PDF file.
- Convert Images to PDF file.
- Convert HTML file to Image file.
- Merge PDF files into one PDF file.
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;
PdfVision v = new PdfVision();
// Unpack portable Chromium browser if necessary.
// To use portable Chromium add Nuget package: SautinSoft.PdfVision.Chromium.Windows. (Linux, MacOS).
if (!ChromiumEngine.IsExist(options.ChromiumBaseDirectory))
ChromiumEngine.Unpack(options.ChromiumBaseDirectory);
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;
PdfVision v = new PdfVision();
ScreenshotOptions options = new ScreenshotOptions();
// Unpack portable Chromium browser if necessary.
// To use portable Chromium add Nuget package: SautinSoft.PdfVision.Chromium.Windows. (Linux, MacOS).
if (!ChromiumEngine.IsExist(options.ChromiumBaseDirectory))
ChromiumEngine.Unpack(options.ChromiumBaseDirectory);
v.GetScreenshot(inpFile, outFile, options);
Resources
- Website: www.sautinsoft.com
- Product Home: PDF Vision .Net
- Download SautinSoft.PDFVision
- Developer Guide
- API Reference
- Support Team
- License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 is compatible. netcoreapp2.2 is compatible. netcoreapp3.0 is compatible. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.0
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
-
.NETCoreApp 2.1
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
-
.NETCoreApp 2.2
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
-
.NETCoreApp 3.0
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
-
.NETCoreApp 3.1
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.0)
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Net.Http (>= 4.3.4)
-
.NETFramework 4.6.2
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.0)
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Net.Http (>= 4.3.4)
-
.NETFramework 4.7
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.0)
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Net.Http (>= 4.3.4)
-
.NETFramework 4.7.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.0)
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Net.Http (>= 4.3.4)
-
.NETFramework 4.7.2
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.0)
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Net.Http (>= 4.3.4)
-
.NETFramework 4.8
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.0)
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Net.Http (>= 4.3.4)
-
.NETFramework 4.8.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.0)
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Net.Http (>= 4.3.4)
-
.NETStandard 2.0
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
-
net5.0
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
-
net6.0
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
-
net7.0
- Microsoft.Extensions.Logging (>= 2.0.2)
- Newtonsoft.Json (>= 10.0.3)
- System.Drawing.Common (>= 4.7.0)
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 |
---|---|---|
2024.11.12 | 965 | 11/13/2024 |
2024.8.28 | 11,682 | 8/29/2024 |
2024.6.20 | 942 | 6/21/2024 |
2023.11.2 | 4,202 | 11/2/2023 |
2023.7.4 | 1,542 | 7/4/2023 |
6.5.4.7 | 1,324 | 4/7/2023 |
6.5.4.6 | 1,020 | 4/7/2023 |
6.4.3.16 | 1,036 | 3/15/2023 |
6.3.3.7 | 938 | 3/7/2023 |
6.2.11.16 | 3,779 | 11/16/2022 |
6.1.5.16 | 3,331 | 5/16/2022 |
6.0.3.15 | 5,748 | 3/15/2022 |
5.6.8.10 | 4,022 | 8/10/2021 |
5.5.5.28 | 7,155 | 5/28/2020 |
5.4.2.21 | 148,258 | 2/21/2020 |
5.3.6.5 | 7,050 | 6/5/2019 |
5.0.13.10 | 5,892 | 1/10/2017 |
5.0.11.22 | 2,173 | 1/6/2017 |
What's new in the version 6.3:
+ We've added a new option - BaseUrl. The baseURL property specifies or retrieves the base URL used for relative path resolution with URL script commands that are embedded in media items. For example: "BaseUrl = @"https://sautinsoft.com/images/".
+ We've updated the Chromium's engine inside. The current version is 104.
+ Supports PDF incremental saving.
+ Fixed an issue with text-wrap in HTML header and footer text not breaking a word correctly when rendering a PDF from HTML.
+ Fixed many minor bugs.