Table of Contents

Method Print

Namespace
DotNetBrowser.Print.Handlers
Assembly
DotNetBrowser.dll

Print(SystemPrinter<IHtmlSettings>)

Creates a PrintHtmlContentResponse instance that tells the Chromium engine to proceed with the passed printer.

public static PrintHtmlContentResponse Print(SystemPrinter<SystemPrinter.IHtmlSettings> printer)

Parameters

printer SystemPrinter<SystemPrinter.IHtmlSettings>

The printer to use.

Returns

PrintHtmlContentResponse

The PrintHtmlContentResponse instance that can be used as a return value in PrintHtmlContentHandler implementation.

Print(PdfPrinter<IHtmlSettings>)

Creates a PrintHtmlContentResponse instance that tells the Chromium engine to proceed with the passed printer.

public static PrintHtmlContentResponse Print(PdfPrinter<PdfPrinter.IHtmlSettings> printer)

Parameters

printer PdfPrinter<PdfPrinter.IHtmlSettings>

The printer to use.

Returns

PrintHtmlContentResponse

The PrintHtmlContentResponse instance that can be used as a return value in PrintHtmlContentHandler implementation.