We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to convert HTML to PDF in ASP.NET Core Mac

Essential PDF now supports HTML to PDF conversion in ASP.NET Core application using .NET Standard 2.0.

Minimum product version: 16.1.0.24

Minimum .NET core version: 2.0.0

The following assemblies or NuGet package is required for converting HTML to PDF in ASP.NET Core.

Assemblies Required:

  • Syncfusion.Compression.Portable.dll
  • Syncfusion.Pdf.Portable.dll
  • Syncfusion.HtmlConverter.Portable.dll
  • QtBinaries

NuGet:

All the above-mentioned assemblies and QtBinaries and working samples can get by installing the WebKit installer for mac available in the below link.

WebKit HTML Converter Mac (pkg file): https://www.syncfusion.com/downloads/latest-version

Code snippet:

 

Working sample will be available in WebKit installed location on Mac.

Example path: /Users/<<username>>/Documents/Syncfusion/16.1.0.24/WebKitHTMLConverter/

Please refer the below UG documentation for more feature details,

https://help.syncfusion.com/file-formats/pdf/converting-html-to-pdf

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8482 02/23/2018 02/26/2018 ASP.NET Core PDF
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon