Skip to main content

Edit PDF

Search and replace text in a PDF. Redacts matched text and overlays new text with configurable font size, color, and alignment.

Category: Structured Data Files (Excel, JSON, PDF) · Group: Files · Activity name: EditPDF

The EditPDF activity in the designer

Example​

outputVariable = EditPDF("<filePath>", [], outputPath="<outputPath>")

Inputs​

NameTypeRequiredDefaultDescription
PDF File PathstringYesPath to the PDF file to edit.
Output PathstringPath for the edited PDF. If empty, overwrites the input file.
ReplacementsarrayYesList of text replacements to apply.

Outputs​

NameTypeDescription
outputVariablestringPath to the edited PDF file.