watermark
hi,
how can I add watermark at runtime to previewPage?
I want to use it for demo version
thanks
how can I add watermark at runtime to previewPage?
I want to use it for demo version
thanks
Comments
Watermark watermark = new Watermark();
watermark.Enabled = true;
watermark.Text = "Demo Version";
ReportPage page = reportObject.Pages.OfType<ReportPage>().First();
page.Watermark = watermark;
thanks
I wanted to add a backpicture programmatically.
Thanks to the answer Saeed has given to his own question I managed to produce the following code:
FastReport.ReportPage pageRecept = (FastReport.ReportPage)rptRecept.FindObject("Page1");
FastReport.Watermark watermark = new FastReport.Watermark();
watermark.Enabled = true;
watermark.Image = Image.FromFile(@c:\myfiles\diagram.gif);
pageRecept.Watermark = watermark;
rptRecept.Show();
Thanks Saeed for finding the solution to your own question and sharing it with the world!
How can i get/set the color of the Watermark-Text (solid color would be helpful)?
I can see the Textfill-Property but cannot see how to get/set the specific informations.
Thank you