Skip to content

Commit

Permalink
Merge pull request #1659 from pczarn2/patch-14
Browse files Browse the repository at this point in the history
Update cfpdf.json
  • Loading branch information
pfreitag authored Jul 11, 2024
2 parents 24a3e1e + 59f7e08 commit ecfda5c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions data/en/cfpdf.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,13 @@
"code": "cfpdf(\r\n action=\"thumbnail\",\r\n source=expandPath( \"./myFile.pdf\" ),\r\n destination=expandPath( \"./thumbnails/\"),\r\n resolution=\"high\",\r\n overwrite=\"yes\",\r\n pages=\"1\",\r\n scale=\"75\",\r\n transparent=\"no\"\r\n);",
"runnable":false,
"result": "Creates a file called myFile_page_1.jpg in the /thumbnails/ directory"
},
{
"title": "Add Watermark text",
"description": "Adds watermark text to the PDF, rotated by 45 degrees, sets flag to print the watermark",
"code": "<cfpdf action=\"addwatermark\" position=\"57,0\" text=\"TEST - DO NOT SEND!_\" source=\"local.tempPdf\" rotation=\"45\" foreground=\"true\" showonprint=\"true\">",
"result": "PDF has watermark with text: TEST - DO NOT SEND!",
"runnable": true
}
]
}

0 comments on commit ecfda5c

Please sign in to comment.