Use watermark and set security


I use a script for adding watermark to my PDF prints. Is it possible to use a script and secure the PDF file at once?

If I change options in PDF Creator (Formats - PDF - Security - Use security) the script of adding Watermark (Actions - Actions after Saving) is useless.


Kind regards,



You can use an own script to add at first an watermark and than add security features just using the pdfforge.dll coming with PDFCreator. In this case deactivate the security settings in PDFCreator.

pdfforge.dll methods:

`StampPDFFileWithImage` or `StampPDFFileWithPDFFile`

`EncryptPDFFile `

There are also sample scripts in the pdfforge help file.