I would like to know how to add a custom watermark to a PDF with multiple pages, with the page number included.
Any help would be greatly appreciated.
A watermark is fixed, but you can use the Add Header & Footer command to do that:
If you also want to add an image as a watermark, do that separately.
Thanks for your reply.
I'm just wondering if there's an option to have perhaps not a watermark, but to add a unique, ascending number to each page. i.e. 123456-01, 123456-02, etc.
I asked as a watermark, as this is quite easliy achieved in another PDF editor.
Yes, you can do it how I described. You can add a bit of fixed text before the page number (outside the brackets).
It can also be done using a script.
Thanks again. Sorry I should have mentioned I suggested the header option, but the user advised that was not feesable for them.
I think the script option is where we need to go.
A script can do it in multiple ways:
- As a watermark (using the addWatermarkFromText method)
- As a comment (using the addAnnot method)
- As a field (using the addField method)
This is possible with a script.
Thanks for your help.