pdf watermark text

Allows you to add a text watermark to a PDF file.


Running this code will put a watermark text named “Sample Watermark Text” with the following properties:

  • Font: Arial
  • Size: 20
  • Base Color: Red
  • Opacity: 30%
  • Angle: 45°

Applying it to the PDF file “E:\Example Folder\Test File.pdf”, and saving it to “E:\Saved Folder\Sample.pdf”.

plugin command("Document Automation.dll", "pdf watermark text", "E:\\Example Folder\\Test File.pdf", "E:\\Saved Folder\\Sample.pdf", "Sample Watermark Text", "Arial", 20, "RED", 30, 45)

Was this helpful?

Previous Article

pdf watermark image

Next Article

web save complete file