Here is a sample code how to change text value at runtime:
C#
StiText txt = report.GetComponentByName("Text1") as StiText; txt.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(txt_GetValue); ... void txt_GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e) { e.Value = newValue; }
0 Comments