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.
Parameters
Section titled “Parameters”string
profile?
Section titled “profile?”ExportProfile
sourceWritingMode?
Section titled “sourceWritingMode?”unknown
Returns
Section titled “Returns”Promise<Buffer<ArrayBufferLike>>