Add Watermark Text to PDF
- 29 Aug 2022
- 1 Minute to read
- Print
- DarkLight
Add Watermark Text to PDF
- Updated on 29 Aug 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 8.5.0 |
Last Modified in Version | 8.5.0 |
Location | Data > PDF |
The Add Watermark Text to PDF step adds a customizable watermark to a PDF.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Add in Background (Behind Text) | Sets the watermark to display behind the text on the PDF. | Boolean |
Add To All PDF Pages | Adds the watermark to all pages in the PDF. | Boolean |
Bold | Set 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 Size | The 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. | --- |
Italics | Set 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 Numbers | Set which pages to apply the watermark to. | List of Int32 |
Pdf Document | The 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 Position | This must be selected to utilize the Position X and Position Y inputs. | Boolean |
Text Color | Sets the color of the watermark text. | String |
Vertical Placement | Select Constant as the mapping type, and from the drop-down, choose where the Watermark should be placed vertically: Left, Right, or Center. | --- |
Watermark Text | The desired text. | String |
Outputs
Property | Description | Data Type |
---|---|---|
Pdf Document Result | PDF document with a custom watermark. | File Data |
Example Project:
Was this article helpful?