Skip to content
Editing Documents

Editing Documents

Changing a document you already have: combining files, stamping pages, adding annotations, filling and flattening forms, editing text, and rewriting the metadata.

Whichever change you make, there are two ways it reaches disk. A PdfWriter rebuilds the whole file, which is what pdfReader.ToWriter gives you and what most of these answers use. A PdfAppender copies the original bytes and writes an incremental update after them, so earlier revisions stay intact and any signature already on the document remains valid. Rebuild a file that has been signed and you invalidate the signature.

Last updated on