Add Watermark Text to PDF
  • 29 Aug 2022
  • 1 Minute to read
  • Dark
    Light

Add Watermark Text to PDF

  • Dark
    Light

Article Summary

Step Details

Introduced in Version8.5.0
Last Modified in Version8.5.0
LocationData > PDF

The Add Watermark Text to PDF step adds a customizable watermark to a PDF.





Properties

Inputs

PropertyDescriptionData Type
Add in Background (Behind Text)Sets the watermark to display behind the text on the PDF.Boolean
Add To All PDF PagesAdds the watermark to all pages in the PDF.Boolean
BoldSet the font as bold or plain.
Boolean
Font Name
The font style for the watermark. This can be set by using the Create Data step and creating a "Font" data type.String
Font SizeThe font size for the watermark.String
Horizontal Placement
Select Constant as the mapping type, and from the drop-down, choose where the Watermark should be placed horizontally: Left, Right, or Center.---
ItalicsSet the font as italics or plain.Boolean
Opacity (Percent)Select Constant as the mapping type, and type in the percentage desired for opacity. 0 = transparent, 100 = opaque.---
Page NumbersSet which pages to apply the watermark to.List of Int32
Pdf DocumentThe file to attach the watermark to.File Data
Position X (From Left)How far away from the left in pixels should the watermark be placed?Single
Position Y (From Bottom)How far away from the bottom in pixels should the watermark be placed?
Single
Rotation (Degrees)Rotate the text as desired in degrees. ---
Specify Exact PositionThis must be selected to utilize the Position X and Position Y inputs.Boolean
Text ColorSets the color of the watermark text.String
Vertical PlacementSelect Constant as the mapping type, and from the drop-down, choose where the Watermark should be placed vertically: Left, Right, or Center.
---
Watermark TextThe desired text.String

Outputs

PropertyDescriptionData Type
Pdf Document ResultPDF document with a custom watermark.File Data


Example Project:



Was this article helpful?