
PDF-LIB · Create and modify PDF documents in any JavaScript …
Written in TypeScript and compiled to pure JavaScript with no native dependencies. Works in any JavaScript runtime, including browsers, Node, Deno, and even React Native.
pdf-lib · PDF-LIB
A transformation matrix according to section 8.3.3 Common Transformations of the PDF specification (page 117). To cite from the spec: Translations shall be specified as [1 0 0 1 tx ty], where tx and ty …
PDFForm · PDF-LIB
A PDF document may contains any number of fields that appear on various pages, all of which make up a single, global interactive form spanning the entire document.
PDFDropdown · PDF-LIB
This operation is analogous to a human user opening the dropdown in a PDF reader and clicking on a value to select it. This method will update the underlying state of the dropdown to indicate which …
PDFCheckBox · PDF-LIB
This operation is analogous to a human user clicking a check box to fill it in a PDF reader. This method will update the underlying state of the check box field to indicate it has been selected.
PDFDocument · PDF-LIB
embedPdf embedPdf (pdf: string | Uint8Array | ArrayBuffer | PDFDocument, indices: number []): Promise‹ PDFEmbeddedPage []› Defined in api/PDFDocument.ts:1100 Embed one or more PDF …
PDFRadioGroup · PDF-LIB
This operation is analogous to a human user clicking one of the radio buttons in this group via a PDF reader to toggle it on. This method will update the underlying state of the radio group to indicate …
PDFField · PDF-LIB
Most of the time each field in a PDF has only a single widget, and thus is only rendered once. However, if a field is rendered multiple times, it will have multiple widgets - one for each location it is rendered.
PDFTextField · PDF-LIB
This operation is analogous to a human user clicking on the text field in a PDF reader and typing in text via their keyboard. This method will update the underlying state of the text field to indicate what text …
PDFPage · PDF-LIB
This approach works well for most PDF documents as all PDF pages must have a MediaBox, but relatively few have a CropBox, BleedBox, TrimBox, or ArtBox. And when they do have these …