structured-render - v2.17.1
Preparing search index...
renderToPdf
Function renderToPdf
renderToPdf
<
const
IconKey
extends
string
>
(
renderInput
:
Readonly
<
RenderInput
<
NoInfer
<
IconKey
>
>
>
,
fileName
:
string
,
options
:
WithRequiredIcons
<
RenderPdfOptions
<
IconKey
>
>
,
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Render structured data to a PDF. Works in both browser and Node.js.
Type Parameters
const
IconKey
extends
string
Parameters
renderInput
:
Readonly
<
RenderInput
<
NoInfer
<
IconKey
>
>
>
fileName
:
string
options
:
WithRequiredIcons
<
RenderPdfOptions
<
IconKey
>
>
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
structured-render - v2.17.1
Loading...
Render structured data to a PDF. Works in both browser and Node.js.