Skip to content

zeropdf v1.5.0


zeropdf / createDocument

Function: createDocument()

ts
function createDocument(options?): PdfDocument;

Defined in: src/document.ts:6477

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.