RenderToPdfOptions
Interface RenderToPdfOptions
interface RenderToPdfOptions extends PageOptionsProperties
author
stringcreator
stringdebug
booleanWhen true, overlay every node's bounding box in red for layout debugging.
encryption
PdfEncryptionOptionskeywords
string[]margin
EdgesInputproducer
stringsave
Omit<SaveOptions, "useObjectStreams"> & { useObjectStreams?: boolean }size
PageSizePage size; defaults to LETTER (612×792) to match pdf-lib.
subject
stringtitle
stringwarnings
booleanWhen true (default), emit a console.warn if a top-level child's
measured width exceeds the page's content area — a common footgun when
hardcoded layout widths drift from the chosen page size. Set to false
to silence (e.g. in tests that deliberately overflow).