Page 1 of 1
Watermarking
Posted: Mon Mar 18, 2019 5:13 am
by pgkammath
Hi,
I want to put a water mark in a report to the effect that 'Provisional Report', 'Interim Report' etc. and then remove this water mark when the report is made final. Is there any way, to implement this. Kindly help. Thanks in advance.
Prabhakar G Kammath
Re: Watermarking
Posted: Mon Mar 18, 2019 7:50 am
by Sergey Tkachenko
Do you want to draw this text in a background? You can assign a background bitmap with this text, or you can use OnPagePrepaint event to draw it when printing (or exporting to PDF using third-party tools).
Re: Watermarking
Posted: Mon Mar 18, 2019 10:16 am
by pgkammath
Hi Sergey,
Thanks for the quick response. It will be enough if I can show this a an image, But can we remove that image once it is not required ?. I am also trying this out using printer drivers for PDF creation.
Regards,
Prabhakar G Kammath
Re: Watermarking
Posted: Mon Mar 18, 2019 12:04 pm
by Sergey Tkachenko
You can remove background bitmap by assigning
RichViewEdit1.BackgroundBitmap := nil;
Or you can hide by assigning
RichViewEdit1.BackgroundStyle := bsNoBitmap;
Re: Watermarking
Posted: Mon Mar 18, 2019 3:39 pm
by pgkammath
Thanks Sergy. I will try it out.
Regards
Prabhakar G Kammath