Add Text Watermark to PDF

Overview

The 'Add Text Watermark to PDF' adds the specified text watermark to the PDF document provided. The text watermark will be added to the page vertically and horizontally centred. If you require greater control over positioning the watermark please review the 'Add Text Watermark (Advanced)' action.

Credit Count

This action consumes 1 credit per operation.

Note, different Encodian actions can consume different number credits. Please always check the action specific documentation and read What is an Encodian Action for a full description of how credits are consumed.

Parameters

The default 'Add Text Watermark to PDF' flow action parameters are detailed below:

  • Filename: The filename (including the file extension) of the source PDF file.
  • File Content: A Base64 encoded representation of the source PDF file.
  • Text: The text to embed as a watermark within the PDF document.
  • Skip First Page: Set whether to skip applying the watermark to the first page.
  • Orientation: Sets how the watermark is aligned upon the page.

Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action. 

Advanced Parameters

The advanced 'Add Text Watermark to PDF' flow action parameters are detailed below:

  • Font: Set the font applied to the text watermark, the default font is set to Helvetica.
  • Text Colour: The HTML colour applied to the text watermark, the default colour is set to #E81123.
  • Text Size: The size of the font applied to the text watermark, the default size is set to 34.
  • Opacity: The opacity of the text watermark, valid values range from 0.0+ to 1.0, the default value is 1.
  • Watermark ID: Override and manually set an identifier for the applied watermark
  • Operation ID: (Advanced) The ID of a parent operation, please refer to Flow Action Return Options: File Content vs. Operation ID
  • Return File: (Advanced) Sets whether the action should return a file or alternatively an operation ID: Flow Action Return Options: File Content vs. Operation ID

Please refer to the Flow Action Return Options: File Content vs. Operation ID article for further details on the 'Return File' parameter.

Examples

  • Orientation: Horizontal
  • Font: Helvetica
  • Text Colour: #E81123
  • Text Size: 34
  • Opacity: 1

3.jpg

  • Orientation: Diagonal
  • Font: CjkFont
  • Text Colour: #3FA9F6
  • Text Size: 50
  • Opacity: 0.5

5.jpg

  • Orientation: Vertical
  • Font: TimesBold
  • Text Colour: #9F0DA3
  • Text Size: 20
  • Opacity: 0.3

4.jpg

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk