Minimum product version: 184.108.40.206
Minimum .NET core version: 2.0.0
For converting HTML to PDF in Linux, the following pre-requisite packages should be installed in the Linux machine. To do that, enter the following commands in the terminal:
The following assemblies or NuGet package is required for converting HTML to PDF in ASP.NET Core Linux.
You can get all the previously mentioned assemblies, QtBinaries, and working samples by installing the HTML converter installer for Linux available in the following link.
Install the NuGet package as reference to your .NET Core application from . The NuGet package contains QtBinaries for all platforms (Windows, Linux and Mac). Copy the QtBinariesLinux folder from the NuGet package installed location and paste it into your application folder to use it for conversion.
NuGet Installed location: /.nuget/packages/syncfusion.htmltopdfconverter.qtwebkit.net.core/XX.X.X.XX/lib
Steps to convert HTML to PDF in ASP.NET Core Linux programmatically:
Use the following code snippet to convert HTML to PDF in ASP.NET Core Linux.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.