Allows you to add a text watermark to a PDF file.
Example
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)