Skip to main content

core.createpdfoptions

Home > @medplum/core > CreatePdfOptions

CreatePdfOptions interface

PDF upload options.

Signature:

export interface CreatePdfOptions extends Omit<CreateBinaryOptions, 'data' | 'contentType'> 

Extends: Omit<CreateBinaryOptions, 'data' | 'contentType'>

Properties

Property

Modifiers

Type

Description

docDefinition

readonly

TDocumentDefinitions

The PDF document definition. See https://pdfmake.github.io/docs/0.1/document-definition-object/

fonts?

readonly

TFontDictionary

(Optional) Optional pdfmake custom font dictionary.

tableLayouts?

readonly

Record<string, CustomTableLayout>

(Optional) Optional pdfmake custom table layout.