i?m using Delphi 7 and Reportbuilder 9.02. I want to draw the text 'DEMO' over the preview (TppViewer) for a demo-version. How can i do that? Printing should be disabled at that time.
The easiest way to accomplish this would be to implement the OnReceivePage event of the screen device and manually add a draw command from there.
Take a look at the TppScreenDevice.AddWaterMark routine located in the ppViewer.pas file. This is how we add text to each page for the demo versions of ReportBuilder.
Comments
The easiest way to accomplish this would be to implement the OnReceivePage
event of the screen device and manually add a draw command from there.
Take a look at the TppScreenDevice.AddWaterMark routine located in the
ppViewer.pas file. This is how we add text to each page for the demo
versions of ReportBuilder.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com