diff options
author | Norbert Preining <norbert@preining.info> | 2021-06-22 13:50:37 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-06-22 13:50:37 +0900 |
commit | 57831804ee8e7fcaeb03975ab9b5a6daa8ba04e8 (patch) | |
tree | d684b9c76213272bb51d18c30b82de8b0c61ad02 /texmf-dist/doc/latex/docassembly/examples/watermark-text.tex | |
parent | fb2f381158906763069d7c68395d326226443856 (diff) |
docassembly (new)
Diffstat (limited to 'texmf-dist/doc/latex/docassembly/examples/watermark-text.tex')
-rw-r--r-- | texmf-dist/doc/latex/docassembly/examples/watermark-text.tex | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/docassembly/examples/watermark-text.tex b/texmf-dist/doc/latex/docassembly/examples/watermark-text.tex new file mode 100644 index 00000000..4b4c123b --- /dev/null +++ b/texmf-dist/doc/latex/docassembly/examples/watermark-text.tex @@ -0,0 +1,26 @@ +\documentclass{article} +\usepackage{docassembly} +\usepackage{lipsum} + +\hypersetup{pdfpagemode=UseNone} + +% Look in the Adobe Acrobat JavaScript manual under the addWatermarkFromText to see all the possible parameters. +\begin{docassembly} +\addWatermarkFromText({ + cText: "Confidential", + aColor: color.red, + nFontSize: 72, + cFont:font.HelvB, + bOnTop:false, + bOnPrint:false, + nOpacity: 0.2, + nRotation: 45 +}); +\executeSave(); +\end{docassembly} + +\begin{document} + +\lipsum[1-30] + +\end{document}
\ No newline at end of file |