From c7b25aa0d0926149709c55e7e9f47646a52d9c4c Mon Sep 17 00:00:00 2001 From: Kees van Spelde Date: Fri, 5 Apr 2024 19:30:15 +0200 Subject: [PATCH] Update package info --- ChromiumHtmlToPdfLib/ChromiumHtmlToPdfLib.csproj | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/ChromiumHtmlToPdfLib/ChromiumHtmlToPdfLib.csproj b/ChromiumHtmlToPdfLib/ChromiumHtmlToPdfLib.csproj index 96b466b..3600e67 100644 --- a/ChromiumHtmlToPdfLib/ChromiumHtmlToPdfLib.csproj +++ b/ChromiumHtmlToPdfLib/ChromiumHtmlToPdfLib.csproj @@ -2,18 +2,12 @@ netstandard2.0;netstandard2.1 - 4.2.3 + 4.2.4 MIT ChromiumHtmlToPdf is a 100% managed C# library that can be used to convert HTML to PDF or PNG format with the use of Google Chrome or Microsoft Edge (C)2017-2024 Kees van Spelde - Adds option to enable outlines (bookmarks) generation from <h1-6> header tags (same feature exists in wkhtmltopdf). - -As this feature was added to chromium just recently, looks like it doesn't work yet in all scenarios and require following configuration: - -- Converter.UseOldHeadlessMode must be true -- Page.printToPDF parameter generateDocumentOutline must be true -- Page.printToPDF parameter generateTaggedPDF must be true (as tagged data used for outlines generation). This is enabled by default, but I've added configuration for it to PageSettings anyways -(nor Converter.UseOldHeadlessMode=false nor --generate-pdf-document-outline works with Chromium 122 when used with Page.printToPDF currently) + - Handle PDF printing errors +- Nuget package updates https://github.com/Sicos1977/ChromiumHtmlToPdf https://github.com/Sicos1977/ChromiumHtmlToPdf git @@ -26,8 +20,8 @@ As this feature was added to chromium just recently, looks like it doesn't work Magic-Sessions False ChromiumHtmlToPdf.snk - 4.2.3.0 - 4.2.3.0 + 4.2.4.0 + 4.2.4.0 true bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml README.md