Skip to main content
Write text to a PDF
Wrk Product avatar
Written by Wrk Product
Updated over 2 weeks ago

Write text to the pages of an existing PDF.

Application

  • PDF

Inputs (what you have)

Name

Description

Data Type

Required?

Example

PDF file

PDF file to write text to

File

Yes

Text

The text to write to the PDF

Text (Long)

Yes

Hello world!

Page selecion

The 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 page

Text (Long)

Yes

1,2,3,4-6,8-*

Font size

The size of font to write. Example: 12

Number

No

12

Font type

The font type to use. Default is Helvetica

Text (Short)

No

Helvetica

RGB font color

The 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-axis

True/False

No

X-offset

The number of points (1/72 inch) to offset the text from the left side of the page

Number with decimals

No

Y-offset

The number of points (1/72 inch) to offset the text from the top of the page

Number with decimals

No

Text alignment

Choose text alignment. Defaults to left aligned

Text (Short)

No

Left

Wrapped text width

Text will wrap at the provided width in points. If no number is provided, text will write in a single straight line. Example: 100

Number with decimals

No

10

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Updated PDF file

The updated PDF containing the new text

File

Yes

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Requirements

  • N/A

Did this answer your question?