Try using the PageStyle Band. This band will print behind the report on each page. To activate the Page Style, select the page style option from the Report main menu option in the Report Designer.
how to use thar PageStyle band? and i want that no end-user could disable this logo. lets say if give them demo version, so on the corner of each report i should see "Demo version blah blah"
Check out the TppScreenDevice.AddWaterMark method located inside the ppViewr.pas file. This is the routine we use to add the permenant message to each page printed in the demo version of ReportBuilder. It essentially creates a text draw command and adds it to each page before it prints. You could do something similar in the OnStartPage event of the report.
Comments
Try using the PageStyle Band. This band will print behind the report on
each page. To activate the Page Style, select the page style option from
the Report main menu option in the Report Designer.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
how to use thar PageStyle band? and i want that no end-user could disable
this logo. lets say if give them demo version, so on the corner of each
report i should see "Demo version blah blah"
Regards,
Simonas
Check out the TppScreenDevice.AddWaterMark method located inside the
ppViewr.pas file. This is the routine we use to add the permenant message
to each page printed in the demo version of ReportBuilder. It essentially
creates a text draw command and adds it to each page before it prints. You
could do something similar in the OnStartPage event of the report.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
last, so that it cannot be overritten by a smart user?
Jim
Yes, it will be rendered last.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
this method looks like this..:
procedure TppScreenDevice.AddWaterMark(aPage: TppPage);
so how do i get correct page? if more precicely all pages
Regards,
Simonas
Try using the Report.Engine.Page property.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I found an example that demonstrates how your might do this. Hope this
helps.
http://www.digital-metaphors.com/tips/Watermark.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Jim
If your drawcommand is added last, then it will rendered over the top of
anything that the user places on the page.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com