From 57831804ee8e7fcaeb03975ab9b5a6daa8ba04e8 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Tue, 22 Jun 2021 13:50:37 +0900
Subject: docassembly (new)

---
 .../latex/docassembly/examples/watermark-file.tex  | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 texmf-dist/doc/latex/docassembly/examples/watermark-file.tex

(limited to 'texmf-dist/doc/latex/docassembly/examples/watermark-file.tex')

diff --git a/texmf-dist/doc/latex/docassembly/examples/watermark-file.tex b/texmf-dist/doc/latex/docassembly/examples/watermark-file.tex
new file mode 100644
index 00000000..c7b9f10f
--- /dev/null
+++ b/texmf-dist/doc/latex/docassembly/examples/watermark-file.tex
@@ -0,0 +1,25 @@
+\documentclass{article}
+\usepackage{docassembly}
+\usepackage{lipsum}
+
+\hypersetup{pdfpagemode=UseNone}
+
+% Look in the Adobe Acrobat JavaScript manual under the addWatermarkFromFile to see all the possible parameters.
+\begin{docassembly}
+\retnAbsPathAs(_path);
+_path += "/graphics/AeB_Logo.pdf";
+\addWatermarkFromFile({
+    bOnTop:false,
+    bOnPrint:false,
+    nOpacity: 0.2,
+    nRotation: 90,
+    cDIPath:_path
+});
+\executeSave();
+\end{docassembly}
+
+\begin{document}
+
+\lipsum[1-30]
+
+\end{document} 
\ No newline at end of file
-- 
cgit v1.2.3

