Show Watermark on selected Pages
Posted: Tue Aug 15, 2017 12:09 pm
Hi
I must come back to this post after the upgrade to Version 2017.1.10 from 2015.3.0. The same sample as in 2011.
viewtopic.php?f=8&t=4417&p=19314&hilit=watermark#p19314
On the Page Event Rendering
This produce the watermark on the page with record from Person2 and Person6 instead on Person1 and Person5.
Attached is my sample and hope you can give my a quick answer with the corretion. I couldn't attach the complete solution, the size was too big.
TIA
Ralf
I must come back to this post after the upgrade to Version 2017.1.10 from 2015.3.0. The same sample as in 2011.
viewtopic.php?f=8&t=4417&p=19314&hilit=watermark#p19314
Code: Select all
var data = new List<ReportPrintValue>();
data.Add(new ReportPrintValue { Nachname = "Person1", Vorname = "Test", ShowWatermark = true, WatermarkText = "Person1 Watermark" });
data.Add(new ReportPrintValue { Nachname = "Person2", Vorname = "Test", ShowWatermark = false });
data.Add(new ReportPrintValue { Nachname = "Person3", Vorname = "Test", ShowWatermark = false });
data.Add(new ReportPrintValue { Nachname = "Person4", Vorname = "Test", ShowWatermark = false });
data.Add(new ReportPrintValue { Nachname = "Person5", Vorname = "Test", ShowWatermark = true, WatermarkText = "Person5 Watermark" });
data.Add(new ReportPrintValue { Nachname = "Person6", Vorname = "Test", ShowWatermark = false });
data.Add(new ReportPrintValue { Nachname = "Person7", Vorname = "Test", ShowWatermark = false });
Code: Select all
Page1.Watermark.Enabled = Insurant.ShowWatermark;
Page1.Watermark.Text = Insurant.WatermarkText
Attached is my sample and hope you can give my a quick answer with the corretion. I couldn't attach the complete solution, the size was too big.
TIA
Ralf