Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line PDF Watermark/Background

Scroll Prev Top Next More

Watermark/Background PDF Command Line Format

 

win2pdfd.exe watermark sourcefile watermarkfile destfile mode excludepre excludepost

 

Where:

 

“mode” is either “watermark” or “background

If mode is “watermark”, the watermarkfile PDF is overlaid on top of all existing graphics on the page.  If mode is “background, the watermarkfile PDF is placed underneath all existing graphics on the page.

 

excludepre” is the number of pages from the beginning of the document to skip applying the watermark.  Set to 0 apply watermarkfile to all pages including the first page.

 

excludepost” is the number of pages from the end of the document to skip applying the watermark.  Set to 0 to apply the watermarkfile to all pages including the last page.

 

This command is only available in licensed versions of Win2PDF Pro. Returns 0 on success, and a Windows system error code on failure.