Watermark Example
RB 11.03 D7
Downloaded Watermark.zip.
Successfully amended to my needs calling Report.onendpage.
I want the Watermark behind the rest of the components so I transfer the
code :
CreateWaterMark.page := rep_Order.Engine.page;
to Report.onstart page.
The Watermark does not Print with the Report.onstart event.
Any other property I should be setting ?
Downloaded Watermark.zip.
Successfully amended to my needs calling Report.onendpage.
I want the Watermark behind the rest of the components so I transfer the
code :
CreateWaterMark.page := rep_Order.Engine.page;
to Report.onstart page.
The Watermark does not Print with the Report.onstart event.
Any other property I should be setting ?
This discussion has been closed.
Comments
This event seems to fire too early to add a drawcommand to the page. Try
using a different that fires for each page event such as the
HeaderBand.BeforePrint event.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have tried it at various Before Print events but its only drawing when
Endpage is called.
Any other ideas ?
In my testing it works perfectly. An even better solution would be to
create a page style and use its BeforePrint event. Both methods however
work on my end. Below is the example I created.
http://www.digital-metaphors.com/tips/WaterMarkBehind.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com