Create and modify PDF documents in any JavaScript environment
Full Changelog: https://github.com/Hopding/pdf-lib/compare/v1.17.0...v1.17.1
ImageAlignment
publicly accessible (thanks @oktapodia!)
PDFDocument.copy()
method (thanks @mohamedsalem401!)
P
property on widgets created by pdf-lib
(thanks @Trapfether!)
PDFPage.scale()
, PDFPage.scaleContent()
, and PDFPage.scaleAnnotations()
methods (thanks @JNK90!)
ViewerPreferences
(thanks @mcshaz!):
PDFTextField.setFontSize(...)
method to PDFTextField
and other field types (thanks @duffyd!):
PDFRadioGroup
and PDFCheckBox
appearance streams:
PDFTextField.setImage(...)
method (thanks @btecu!):
PDFForm.flatten()
method (thanks @btecu!):
PDFDocument.addJavaScript
method (thanks @brodo!):
PDFDict
entries:
PDFField.acroField
type bugPrint
flag on new widget annotations so new fields are printed after being added to a page: