Adding watermark to pdf

hi ,is it possible to add a watermark to pdf using UiPath. if it is possible can anyone help me in doing that.

@Jangiti_Shyamsunder

welcome to the community

it is not directly possible with any activities you need to use itextsharp or itext7 libraries and use c# or vb.net code

cheers

In market place we have custom activities which help to add watermark

You can you belw code which help you

@Jangiti_Shyamsunder Is your issue solved ?

sorry ,I haven’t seen replies . Yes, my issue is resolved ,I have figured out some alternate solution for this by using image watermarking activity.

I have figured out some alternate solution for this by using image watermarking activity.

2 Likes

Can you elaborate on the solution? I need to watermark PDFs as well.

1 Like

@Jangiti_Shyamsunder
pls post the solution, which help other community members who looking for same kind of solution.

1 Like

Sorry guys , i haven’t visited this page after that problem solved

The Alternate solution i have used is ,

  1. Get the page count of the PDF
    2.Loop with the page count
    3.in loop for each pdf page , convert it in to image .
    4.watermark the image in same loop.
    5.Now convert the image in to pdf in same loop.
    6.Now Merge all the PDFs and Store in a single PDF.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.