Skip to main content

Write text to a PDF

Write text to the pages of an existing PDF.

Application

  • PDF

Inputs (what you have)

NameDescriptionData TypeRequired?Example
PDF filePDF file to write text toFileYes
TextThe text to write to the PDFText (Long)YesHello world!
Page selecionThe page selection to receive. Single pages separated by commas (e.g. 1,3,5) or ranges separated by a dash (e.g. 3-5). A * can be used as an identifier for the last pageText (Long)Yes1,2,3,4-6,8-*
Font sizeThe size of font to write. Example: 12NumberNo12
Font typeThe font type to use. Default is HelveticaText (Short)NoHelvetica
RGB font colorThe color of font to write. Default is (0,0,0) (black)Text (Short)No(0,0,0)
Start writing at bottom of page?If selected the bottom of the page will be considered 0 on the y-axisTrue/FalseNo
X-offsetThe number of points (1/72 inch) to offset the text from the left side of the pageNumber with decimalsNo
Y-offsetThe number of points (1/72 inch) to offset the text from the top of the pageNumber with decimalsNo
Text alignmentChoose text alignment. Defaults to left alignedText (Short)NoLeft
Wrapped text widthText will wrap at the provided width in points. If no number is provided, text will write in a single straight line. Example: 100Number with decimalsNo10
Output filenameOptional custom filename for the updated PDF fileText(Long)Nosample.pdf

Outputs (what you get)

NameDescriptionData TypeRequired?Example
Updated PDF fileThe updated PDF containing the new textFileYes

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.

Requirements

  • N/A