Wednesday, March 18, 2009

cfpdf add watermark example

With the cfpdf tag you can add/delete watermarks for pdf's.

Here is a very simple example to add a water mark to a pdf.

<cfpdf
action = "addwatermark"
source = "c:\temp\source1.pdf"
image = "c:\temp\image1.jpg"
foreground = "yes"
isBase64 = "yes"
overwrite = "yes"
pages = "1"
password = "mypwd"
rotation = "45"
showonprint = "yes">
destination = "c:\temp\desti1.pdf"
>