fillPDFForm
¶
fillPDFForm = async ( inputPDFPath: string, outputPDFPath: string, data: Record<string, string>, meta?: PDFMetaData )
Fills a PDF form with the provided data and saves the modified PDF to the output path.
Parameters
Name | Type | Description |
---|---|---|
inputPDFPath |
any | The path to the input PDF file. |
outputPDFPath |
any | The path to save the modified PDF file. |
data |
any | The data to fill the PDF form with. It should be a record of key |
meta |
any | Optional metadata to set for the PDF document. |
Returns: ``