HtmlPdfExporter

Exports a PDF from a directory with an index.html root file. This is done via a Chromium-family browser, driven over the Chrome DevTools Protocol.

Parameters

options

options that affect the export process

See also

Constructors

Link copied to clipboard
constructor(options: HtmlPdfExportOptions)

Functions

Link copied to clipboard
fun export(sourcesDirectory: File, out: File)

Exports a PDF from the given source directory.