跳到內容

renderHtmlToPdf

本頁內容尚未翻譯。

renderHtmlToPdf(html, profile?, sourceWritingMode?): Promise<Buffer<ArrayBufferLike>>

Defined in: index.ts:18

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.

string

ExportProfile

unknown

Promise<Buffer<ArrayBufferLike>>