Add watermark to PDF

Add watermark to PDF action supports three types of watermarks: Image, PDF document, Text.

Selection of the watermark type

You can find the documentation for these watermark types below:

Add Image Watermark to PDF

Parameters

Output Parameters

Parameter

Description

Example

File Content

The content of the result PDF file.

It is the content of the result file.

Setup Parameters

Parameter

Description

Example

App

Select the app.

Plumsail Documents

Action event

Select an action from the Plumsail Documents bundle.

Add Image Watermark to PDF

Account

To allow your zaps to get information from and send it to Plumsail Documents, you need to create a connection.

For more information on how to create a connection to Plumsail Documents, see the online Help.

Configure Parameters

Parameter

Description

Example

PDF File

Raw content of PDF document.

You may get the content of the source PDF file from the OneDrive trigger or from some other app.

Use this link to download a sample 10 pages PDF file.

Image content

Raw content of the image source. Available extensions: png, tiff, jpg, webp, gif, bmp, svg.

You may get the content of the source image file from the OneDrive trigger or from some other app.

Watermark position

You can select one of the predefined position of watermark on the page. Available preset positions on the document page:

  1. Top Left

  2. Top Middle

  3. Top Right

  4. Middle Left

  5. Center

  6. Middle Right

  7. Bottom Left

  8. Bottom Middle

  9. Bottom Right

../../_images/add-a-watermark-to-pdf-content-positions2.webp

MiddleRight

Opacity

The degree of transparency of the watermark image. This is a percentage value.

50

Watermark image width

A new width of the image that will be used for watermark. If set - source image will be resized

150

Watermark image height

A new height of the image that will be used for watermark. If set - source image will be resized

100

Auto scale

If true, the image will be scaled as close as possible to the values given in Width and Height while maintaining the original proportions. Otherwise, the image will be converted to the specified Height and Width without preserving the proportions.

Yes (default)

X coordinate

Absolute X coordinate value. If the predefined positions (see “Watermark position”) do not suit you, then you can set the desired location of the watermark using absolute coordinates. The origin in the bottom left corner. See the picture

../../_images/add-a-watermark-to-pdf-coordinates-start2.webp

If set - “Watermark position” parameter will be ignored

50

Y coordinate

Absolute Y coordinate value. If set - “Watermark position” parameter will be ignored

50

Start page

The first page to start watermarking.

2

End page

The last page to watermark

7

Pages

Numbers of pages to be watermarked delimited by ‘;’.

  • 1;3;5

  • 1-5;7;9

  • 1-3;9-11;5

  • 1;3-7;10-20

Password

The password to decrypt the source document. If it was encrypted earlier.

PAs$word

PDF owner password

Enter an optional owner password here. This password can be used to disable document restrictions.

OwNEr_PAs$word

Example

Download a PDF file and an image watermark, then use them as inputs in the Add Image Watermark action.

Image watermark options

Add PDF Watermark to PDF

Parameters

Output Parameters

Parameter

Description

Example

File Content

The content of the result PDF file.

It is the content of the result file.

Setup Parameters

Parameter

Description

Example

App

Select the app.

Plumsail Documents

Action event

Select an action from the Plumsail Documents bundle.

Add PDF Watermark to PDF

Account

To allow your zaps to get information from and send it to Plumsail Documents, you need to create a connection.

For more information on how to create a connection to Plumsail Documents, see the online Help.

Configure Parameters

Parameter

Description

Example

PDF file

Raw content of PDF document.

You may get the content of the source PDF file from the OneDrive trigger or from some other app.

You may use this link to download a sample 10 pages PDF file.

Overlay file

Raw content of the PDF file that will be used as a watermark.

You may use this link to download a sample PDF file for using as PDF watermark.

Overlay layer

Select one of the predefined layer for overlay rendering position. Available preset positions:

  • Background

  • Foreground

    Default value is “Background”.

Background

Start page

The first page to start watermarking.

2

End page

The last page to watermark

7

Pages

The range of pages or a list of page numbers delimited by ‘;’.

  • 1;3;5

  • 1-5;7;9

  • 1-3;9-11;5

  • 1;3-7;10-20

Example

Download a PDF file and a PDF watermark, then use them as inputs in the Add PDF Watermark to PDF action.

PDF watermark options

Add Text Watermark to PDF

Parameters

Output Parameters

Parameter

Description

Example

File Content

The content of the result PDF file.

It is the content of the result file.

Setup Parameters

Parameter

Description

Example

App

Select the app.

Plumsail Documents

Action event

Select an action from the Plumsail Documents bundle.

Add Text Watermark to PDF

Account

To allow your zaps to get information from and send it to Plumsail Documents, you need to create a connection.

For more information on how to create a connection to Plumsail Documents, see the online Help.

Configure Parameters

Parameter

Description

Example

PDF file

Raw content of PDF document.

You may get the content of the source PDF file from the OneDrive trigger or from some other app.

You may use this link to download a sample 10 pages PDF file.

Text content

Text that will be used as watermark

Watermark

Rotation

Angle of rotation in degrees. Works only for Center watermark position

45

Font

Select a font of the watermark.

Arial

Bold

Select Yes if you want to make the watermark text bold.

Yes

Italic

Select Yes if you want to make the watermark text italic.

No

Text Align

Specify the positions of the text inside the watermark.

Left

Font Size

Specify the text watermark font size.

24

Color

Hex value. You can select the desired color using this tool https://www.w3schools.com/colors/colors_picker.asp

  • 000000

  • FFFFFF

Watermark position

You can select one of the predefined position of watermark on the page. Available preset positions on the document page:

  1. Top Left

  2. Top Middle

  3. Top Right

  4. Middle Left

  5. Center

  6. Middle Right

  7. Bottom Left

  8. Bottom Middle

  9. Bottom Right

../../_images/add-a-watermark-to-pdf-content-positions2.webp

MiddleRight

Opacity

The degree of transparency of the watermark image. This is a percentage value.

50

X coordinate

Absolute X coordinate value. If the predefined positions (see “Watermark position”) do not suit you, then you can set the desired location of the watermark using absolute coordinates. The origin in the bottom left corner. See the picture

../../_images/add-a-watermark-to-pdf-coordinates-start2.webp

If set - “Watermark position” parameter will be ignored

50

Y coordinate

Absolute Y coordinate value. If set - “Watermark position” parameter will be ignored

50

Start page

The first page to start watermarking.

2

End page

The last page to watermark

7

Password

The password to decrypt the source document. If it was encrypted earlier.

PAs$word

PDF owner password

Enter an optional owner password here. This password can be used to disable document restrictions.

OwNEr_PAs$word

Example

Download a PDF file, then use it in the Add Text Watermark to PDF action.

Text watermark options