List icon Contents

Posted on

DotNetBrowser 2.27.0

Chromium upgraded to 124.0.6367.221 

We upgraded Chromium to a newer version, which introduces security fixes for vulnerabilities that have known exploits:

For the complete list of Chromium fixes and improvements in 124.0.6367.221 please visit the product blog posts for the following versions:

Breaking changes 

In this version, we have removed the Scaling.FitToPage and Scaling.FitToPaper fields. These options are only useful when printing a PDF file with a system printer. When printing an HTML page or using the built-in PDF printer, the methods were no-op, confusing developers.

Instead, we introduce a new IFit.Fit property, which is available only for printing PDF files with system printers.

Here is how the PrintPdfContentHandler might look like before:

browser.PrintPdfContentHandler = 
    new Handler<PrintPdfContentParameters, PrintPdfContentResponse>(p =>
{
    var printer = p.Printers.Default;
    var settings = printer.PrintJob.Settings;
    settings.Scaling = Scaling.FitToPage;
    // ...
    return PrintPdfContentResponse.Print(printer);
});

Here is how PrintPdfContentHandler works in DotNetBrowser 2.27.0:

browser.PrintPdfContentHandler = 
    new Handler<PrintPdfContentParameters, PrintPdfContentResponse>(p =>
{
    var printer = p.Printers.Default;
    var settings = printer.PrintJob.Settings;
    settings.Fit = Fit.ToPage;
    // ...
    return PrintPdfContentResponse.Print(printer);
});

Quality enhancements 

  • The redundant option causing Chromium crash was removed from autofill suggestions drop-down for credit cards;
  • The focus handling was improved for WPF and Windows Forms BrowserViews embedded into a native window.

Download DotNetBrowser 2.27.0

Please share your email with us, and we'll send you download instructions.

We couldn’t deliver a message. Please make sure the email address is correct.
Sending…
EmailBox Please check your inbox.

We were unable to send the email. Please try again.

If you are a registered customer you don’t need to do anything to use this update.

If you would like to evaluate the product, you need an evaluation license.

Get free 30-day trial