PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Add a watermark on all pages of a Word-document
Add a watermark on all pages of a Word-document
Débuté par Tonny Neirynck, 06 aoû. 2018 15:50 - Aucune réponse
Posté le 06 août 2018 - 15:50
Hi,

I want to add a watermark in a Word-document and then finally create the pdf. Watermark = image with tekst horizontal- and with tekst vertical-oriented.
I'm using a word processing control or a document variable, name= wpcReport:
elt is docElement
elt..Type = typeDocElementImage
elt..Image..Wrapping = docWrappingBehindTheText
DocInsert(wpcReport, wpcReport..Cursor, elt)

This works on the first page only, but how can I add the watermark on all pages?
Can someone help me with this, please?