Function: editDocument()
function editDocument(data, options?): PdfEditableDocument;
Opens an existing PDF for incremental edits such as appending pages, updating fields, changing structure metadata, and preserving existing bytes when possible.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | BinaryData | The source PDF bytes to edit. |
options | ParseDocumentOptions | Parsing options, including the password for encrypted sources. |
Returns
The mutable incremental editor.