You can find updated information on this topic in “HTML to PDF Conversion Using ASP.NET Core in Linux Docker,” written on August 20, 2018.
Syncfusion is happy to share that HTML-to-PDF conversion based on a version of the WebKit rendering engine that does not rely on web services is coming soon to the .NET Core platform. It can run on Windows, Linux, and Mac. With this, you will be able to generate high-quality PDF documents from HTML files. The resulting PDF document will look like the browser view.
The ASP.NET Core application with HTML-to-PDF conversion can be hosted on the most popular web servers, including Apache HTTP server, Nginx, and IIS.
An illustration of the HTML-to-PDF conversion process.
The list of features that will be available with HTML-to-PDF conversion in the initial version are:
- Converts any webpage to PDF.
- Converts secured (https) webpages to PDF.
- Converts any raw HTML string to PDF.
- Supports HTML5, CSS3, SVG, and web fonts.
- Prevents text and image splits across pages.
- Converts HTML forms to fillable PDF forms.
- Automatically creates table of contents.
- Automatically creates bookmark hierarchy.
- Can convert a part of a webpage to PDF.
- Supports changing view port.
- Supports header and footer.
- Supports offline conversion.
- Repeats HTML table headers and footers in PDF.
- Supports accessing HTML pages using both HTTP POST and GET methods.
- Supports HTTP cookies.
- Thread safe.
- Supports internal and external hyperlinks.
- Sets document properties, page settings, security, viewer preferences, watermark, and more.
- Protects PDF documents with passwords and permissions.
We are currently working on the final phase of testing and finalizing the APIs, and it will be available soon for public use. Please post your comments if you have any questions or feedback related to this conversion support. We are happy to offer any help we can.
If you like this blog post, we think you’ll also like the following free e-books:
ASP.NET Core Succinctly
.NET Core Succinctly