Add Text Watermark (Advanced)

Overview

The 'Add Text Watermark (Advanced)' action adds the specified text watermark to the PDF document provided. This action provides enhanced configuration control over the standard Add Text Watermark action.

Parameters

The default 'Add Text Watermark (Advanced)' flow action parameters are detailed below:

  • Filename: The filename (including file extension) of the source PDF file.
  • File Content: A Base64 encoded representation of the source PDF file.
  • Operation ID: (Optional) The ID of a parent operation, please refer to: Flow Action Return Options: File Content vs. Operation ID
  • Text: The text to embed as a watermark within the PDF document.
  • Font: Set the font applied to the text watermark, the default font is Helvetica.
  • Text Colour: The HTML colour applied to the text watermark, the default colour is  #E81123.
  • Text Size: The size of the font applied to the text watermark, the default size is 34.
  • Opacity: The opacity of the text watermark, valid values range from 0.0+ to 1.0, the default value is 1.
  • Encoding Type: The encoding type to apply to the text watermark, the default value is Winansi.
  • Horizontal Alignment: Set the horizontal alignment of the watermark, the default value is Center.
  • Vertical Alignment: Set the vertical alignment of the watermark, the default value is Center.
  • Text Alignment: Set the text alignment of the watermark, the default value is Center.
  • Apply To: Set which pages in the document the watermark should be applied to.
  • Page Numbers Item: Sets the page numbers the watermark should be added to. This setting only applies when the the 'Apply To' parameter is set to 'Specific'.
  • Rotation Angle: Set the rotation angle of the text watermark.
  • Text Wrap: Set whether the text watermark should automatically wrap.
  • Text Wrap Row Width: Set the row width applied when the watermark is set to automatically wrap.
  • Auto Scale: Set the whether the text should be automatically sized to fit the width of the container.
  • Auto Scale Text Width: Set the width of the watermark container when automatic scaling is enabled.
  • Auto Scale Text Height: Set the height of the watermark container when automatic scaling is enabled.
  • Text Layer: Set whether the watermark should be added to the top or bottom layer. If ‘True’ the watermark is added to the bottom layer.
  • Y Indent: Set the vertical watermark indent, starting from the bottom and overriding the VerticalAlignment property.
  • X Indent: Set the horizontal watermark indent, starting from the left and overriding the HorizontalAlignment property.
  • Apply as an Image: Set whether the text watermark should be added as text or an image.

1.jpg

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' flow action parameters are detailed below:

  • Final Operation: Sets whether the this is last Encodian flow action.

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

Examples

  • Font: Helvetica
  • Text Colour: #FF6E26
  • Text Size: 30
  • Opacity: 0.7
  • Encoding Type: Winansi
  • Horizontal Alignment: None
  • Vertical Alignment: None
  • Text Alignment: None
  • Apply To: FirstPage
  • Rotation Angle: 45
  • Text Wrap: No
  • Text Wrap Row Width: 0
  • Auto Scale: Yes
  • Auto Scale Text Width: 300
  • Auto Scale Text Height: 80
  • Text Layer: No
  • Y Indent: 0
  • X Indent: 0
  • Apply as an Image: No

2.jpg

  • Font: Helvetica
  • Text Colour: #FF6E26
  • Text Size: 30
  • Opacity: 1
  • Encoding Type: Winansi
  • Horizontal Alignment: Center
  • Vertical Alignment: Bottom
  • Text Alignment: Center
  • Apply To: FirstPage
  • Rotation Angle: 0
  • Text Wrap: No
  • Text Wrap Row Width: 0
  • Auto Scale: No
  • Auto Scale Text Width: 0
  • Auto Scale Text Height:0
  • Text Layer: No
  • Y Indent: 0
  • X Indent: 0
  • Apply as an Image: No

3.jpg

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk