How i can to have Watermark not visible in EndUser RAP ?
Hi
How i can to have Watermark not visible ( and not Removible ) in EndUser
RAP ?
I need to print any Report ( make with RB EndUser ) with WaterMark ( DEMO
VERSION )
but i don't want my clients remove Label "DEMO VERSION" from Report.
i need this WaterMark from Delphi Side.
--------------------------
RB 11.08 + Delphi 2010
How i can to have Watermark not visible ( and not Removible ) in EndUser
RAP ?
I need to print any Report ( make with RB EndUser ) with WaterMark ( DEMO
VERSION )
but i don't want my clients remove Label "DEMO VERSION" from Report.
i need this WaterMark from Delphi Side.
--------------------------
RB 11.08 + Delphi 2010
This discussion has been closed.
Comments
See the following article.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Formatting/How_To...Manually_Add_a_Watermark_to_a_Page
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
but i have another problem
i call my report ( generic function ) with this code :
ppReportExplorer1.PrintPreview(sReportName,iReportCode);
WaterMark don't work if i use ReportExplorer.
i have a main report form ( get from your RB Demo ) with :
ReportExplorer - ppDesigner - ppReport1 ......................
this code is NOT examinate / called :
procedure TfrmrbEndUserReport.ppReport1EndPage(Sender: TObject);
begin
CreateWaterMark.Page := ppReport1.Engine.Page;
end;
All Event of ppReport1 is Not called.
then... the WaterMark is not printed.
Hint ?
The issue is that you are loading templates with the report explorer and
therefore losing the event handler reference. An easy way to work around
this is to use the Template.OnLoadEnd event to assign the event handler to
the report.
http://www.digital-metaphors.com/rbWiki/Design/Templates/Using_Template_Events
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com