using Stimulsoft 2019.3.2+Angular I need to set watermark text and color by code
in VB.net code I use this:
Code: Select all
report.Pages(0).Watermark.Text = "MyText"
report.Pages(0).Watermark.TextBrush = New Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.LightGray)
Code: Select all
this.report.pages[0].watermark.text = "MyText";
thanksERROR TypeError: Cannot read property 'watermark' of undefined