flattenForm
Function flattenForm
flattenForm(pdf: PDFDocument, options?: { font?: PDFFont; updateFieldAppearances?: boolean }): voidFlatten all AcroForm widgets into page content, making them non-interactive.
Parameters
-
pdf: PDFDocument -
options?: { font?: PDFFont; updateFieldAppearances?: boolean }
Returns void