Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Show an image over the previewform

edited July 2008 in General
Hello,

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.

best regards, Paul

Comments

  • edited July 2008
    Hi Paul,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.