renderHtmlToPdf
renderHtmlToPdf(
html,profile?,sourceWritingMode?,options?):Promise<Buffer<ArrayBufferLike>>
Defined in: to-pdf/src/index.ts:20
Print a complete, already-rendered MDI HTML document through Chromium.
This is deliberately a layout adapter: callers must obtain the HTML from the Rust core and must not supply an alternative MDI parser or renderer.
Parameters
Section titled “Parameters”string
profile?
Section titled “profile?”ExportProfile
sourceWritingMode?
Section titled “sourceWritingMode?”unknown
options?
Section titled “options?”MdiWarichuSettleOptions
Returns
Section titled “Returns”Promise<Buffer<ArrayBufferLike>>