Skip to main content

Function: createDocument()

function createDocument(options?): PdfDocument;

Creates a new PDF document builder for generating pages, text, graphics, forms, metadata, tagging, and attachments.

Parameters

ParameterTypeDescription
optionsDocumentOptionsDocument creation options.

Returns

PdfDocument

The new mutable PDF document builder.