Click or drag to resize
Pdf Library for .NET

Version 26.6 Release Notes - SelectPdf Html To Pdf Converter

Chromium engine fixes, engine packages for packages.config projects and ASP.NET Web Sites, and .NET 11.

New features
  • Engine packages in packages.config projects - the Chromium and Blink engine packages now deploy the engine with the application in projects that use packages.config (ASP.NET Web Forms and MVC 5 applications, older desktop projects), on build and on publish. For an ASP.NET Web Site (a site without a project file), see Installation.

  • .NET 11 - the converter runs on .NET 11.

  • AI coding assistants - the main NuGet packages include an agent skill for AI coding assistants.

  • Web fonts - the Chromium engine waits for web fonts that are still loading before it converts the page, so text added by a script after the page loads keeps its font.

Behavior changes
  • With the Chromium engine, a page that calls window.print() is converted normally. Earlier versions waited until the conversion timed out.

  • With the Chromium engine and EnableOfflineMode, a URL to a local file or an HTML string no longer loads images, styles or scripts from the network.

  • When the engine folder cannot be found, the error message names the folders that were searched and how to fix it (install the engine package, copy the engine folder next to the application, or set CefEnginePath / BlinkEnginePath).

Fixes
  • Chromium engine - a page with smooth scrolling no longer has its sticky header drawn over the content; a right-to-left page is no longer shifted sideways and cut off; an empty HTML string converts to an empty page instead of failing; an image conversion of an HTML string with a local base URL is refused when local file access is denied, as the PDF conversion is.

  • The Chromium and Blink engines work from folders with paths longer than 260 characters.

  • With the WebKit engine, hyphens, spaces, semicolons and middle dots are extracted from the PDF as they were typed.

See Also