win2pdfd.exe watermark "sourcefile" "watermarkfile" "destfile" mode excludepre excludepost
“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. If "sourcefile" and "destfile" are the same file, the file is modified in place.
Any file names that contain spaces must be enclosed with quotation marks.
Returns 0 on success, and a Windows system error code on failure.