Skip to content

a11ydocs v1.7.0


a11ydocs / createDocument

Function: createDocument()

ts
function createDocument(options?): PdfDocument;

Defined in: src/document.ts:6747

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.

Released under the ISC license.